Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Bridge hub kusama/polkadot runtime upgrade with bridging #2528

Open
wants to merge 83 commits into
base: master
Choose a base branch
from

Conversation

bkontur
Copy link
Contributor

@bkontur bkontur commented May 5, 2023

Based on PoC for Rococo/Wococo Bridge.
Relates to: #2762 (asset transfer with pallet_xcm over this bridge)

PR introduces:


Context:

  • Main goal of this first stage is to setup bridge between system parachains Kusama:AssetHub vs Polkadot:AssetHub. Next stage will be focused on adding support to allow bridging between arbitrary parachains here.
  • Another goal of this PR is to pass security audit
  • Even if we merge this and redeploy runtimes on live chains, the bridge wont work. The chain's governance needs to issue dedicated calls to start bridge working (more check cutover).

Tasks:


More about bridges:
https://github.com/paritytech/parity-bridges-common/blob/master/docs/high-level-overview.md
https://github.com/paritytech/parity-bridges-common/blob/master/docs/polkadot-kusama-bridge-overview.md
https://forum.parity.io/t/bridges-team-updates/1403/11
https://forum.polkadot.network/t/bridge-hub-questions/2693/2
https://forum.polkadot.network/t/bridge-hub-questions/2693/5

@bkontur
Copy link
Contributor Author

bkontur commented May 5, 2023

bot bench $ pallet bridge-hub-kusama bridge-hubs pallet_bridge_grandpa
bot bench $ pallet bridge-hub-kusama bridge-hubs pallet_bridge_parachains
bot bench $ pallet bridge-hub-kusama bridge-hubs pallet_bridge_messages
bot bench $ pallet bridge-hub-kusama bridge-hubs pallet_bridge_relayers
bot bench $ xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

@bkontur
Copy link
Contributor Author

bkontur commented May 9, 2023

bot bench $ pallet bridge-hub-kusama bridge-hubs pallet_bridge_messages
bot bench $ pallet bridge-hub-kusama bridge-hubs pallet_bridge_relayers
bot bench $ xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

@bkontur
Copy link
Contributor Author

bkontur commented May 10, 2023

bot bench $ pallet bridge-hub-polkadot bridge-hubs pallet_bridge_grandpa
bot bench $ pallet bridge-hub-polkadot bridge-hubs pallet_bridge_parachains
bot bench $ pallet bridge-hub-polkadot bridge-hubs pallet_bridge_messages
bot bench $ pallet bridge-hub-polkadot bridge-hubs pallet_bridge_relayers
bot bench $ xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic

@bkontur bkontur added B1-note_worthy Changes should be noted in the release notes C3-medium PR touches the given topic and has a medium impact on builders. D9-needsaudit 👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited T1-runtime This PR/Issue is related to the topic “runtime”. T8-bridges This PR/Issue is related to bridges. labels May 12, 2023
@paritytech-processbot
Copy link

Rebased

@bkontur
Copy link
Contributor Author

bkontur commented Jul 4, 2023

bot rebase

@paritytech-processbot
Copy link

Rebased

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B1-note_worthy Changes should be noted in the release notes C5-high PR touches the given topic and has a high impact on builders. D9-needsaudit 👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited T1-runtime This PR/Issue is related to the topic “runtime”.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants