cumulus
cumulus copied to clipboard
Bridge hub kusama/polkadot runtime upgrade with bridging
Based on PoC for Rococo/Wococo Bridge.
Relates to: https://github.com/paritytech/cumulus/pull/2762 (asset transfer with pallet_xcm over this bridge)
PR introduces:
- bridging capabilities (pallets, cfg) to BridgeHubKusama to enable bridging to BridgeHubPolkadot
- bridging capabilities (pallets, cfg) to BridgeHubPolkadot to enable bridging to BridgeHubKusama
- support/configuration for bridging between
Kusama:StateminevsPolkadot:Statemint - tests for both runtimes
- zombienets/scripts for local run for scenario: Move assets between
AssetHubKusama localvsAssetHubPolkadot localnetworks over bridge (anybody can try https://github.com/paritytech/cumulus/pull/2528/files#diff-c0cdca6d4e2786a0c267c956c790fabaaa27c8a565e95f4b0ae6b49467bd763fR227)
Context:
- Main goal of this first stage is to setup bridge between system parachains
Kusama:AssetHubvsPolkadot: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:
- [ ] reonboard BridgeHubKusama with BridgeHubPolkadot on Westend
- [ ] prepare cutover plan for initialization and deployment (governance calls, relayers, ...) - https://github.com/paritytech/parity-bridges-common/issues/2455
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
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
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
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
bot rebase
bot rebase
bot clean
This pull request has been mentioned on Polkadot Forum. There might be relevant details there:
https://forum.polkadot.network/t/polkadot-kusama-bridge/2971/2
bot rebase
Rebased
bot rebase
Rebased
bot rebase
Rebased