Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[P-K Bridge] BridgeHub Kusama & BridgeHub Polkadot parachains story (bridge active and live) #2455

Closed
5 of 10 tasks
Tracked by #2691
bkontur opened this issue Dec 20, 2022 · 3 comments
Closed
5 of 10 tasks
Tracked by #2691
Assignees

Comments

@bkontur
Copy link
Contributor

bkontur commented Dec 20, 2022

Components

BridgeHubKusama BridgeHubPolkadot substrate-relay
Code Cumulus Cumulus Bridges
Live endpoint polkadot-js-org polkadot-js-org TODO:
Logs loki loki TODO:
Telemetry here here TODO:
Monitoring Grafana Grafana TODO:

Local testing

Check here

Going live / cutover and timeline for bridge

Because of asynchronous and disconnected governances for Polkadot vs Kusama, we want to allow bridge operations step-by-step in few iterations - to minimalize risk and avoid getting stuck or losing messages/assets. The end goal is to allow message transfer via bridge, only after both sides can operate and are ready to process incoming messages.


  1. Governance motion for BridgeHubKusama upgrade
  2. Governance motion for BridgeHubPolkadot upgrade
  3. Prepare deployment of (Parity) relayers [P-K Bridge] Relayer Deployment #2417

  1. Enact BridgeHubKusama runtime
  2. New governance motion for BridgeHubKusama with calls:
  • pallet_bridge_grandpa::Call::initialize - enables relaying Polkadot relaychain finality (which enables receiving extrinsics for other pallet_bridge_parachains + pallet_bridge_message)
  • frame_system::Call::set_storage(DeliveryRewardInBalance)
  • frame_system::Call::set_storage(RequiredStakeForStakeAndSlash)
  • (optional - there is a possiblity to disable other pallets, e.g. disabled sending outbound messages)

  1. Enact BridgeHubPolkadot runtime
  2. New governance motion for BridgeHubPolkadot with calls:
  • pallet_bridge_grandpa::Call::initialize - enables relaying Kusama relaychain finality (which enables receiving extrinsics for other pallet_bridge_parachains + pallet_bridge_message)
  • frame_system::Call::set_storage(DeliveryRewardInBalance)
  • frame_system::Call::set_storage(RequiredStakeForStakeAndSlash)
  • (optional - there is a possiblity to disable other pallets, e.g. disabled sending outbound messages)

  1. When 9. and 11. is done, start relayers (finality, parachains, messages)
  2. At this point, Kusama <> Polkadot bridge is operational, can relay messages (at least we can verify finality relaying)

Going live / cutover and timeline for asset transfer via bridge use-case


  1. Review and merge Cumulus PR Transfer asset via bridge with pallet xcm cumulus#2762
  2. Pass security audit for that PR

  1. Governance motion for AssetHubKusama upgrade
  2. Governance motion for AssetHubPolkadot upgrade

  1. Enact AssetHubKusama runtime

  1. Enact AssetHubPolkadot runtime
    --
  2. When 18. and 19. is done, at this point both sides (AssetHubKusama, AssetHubPolkadot) can receive and transfer assets DOTs/KSMs over bridge

Note: HRMP channels between AssetHubs and BridgeHubs are already opened.
Note: Some governance calls can be added directly to runtime as Migrations/OnRuntimeUpgrade.
_Note: Creation of ForeignAssets for wrappedDOT/wrappedKSM will be done simultaneously: #2401


Issues/TODOs:

@bkontur
Copy link
Contributor Author

bkontur commented Dec 21, 2022

Initial setup for Kusama is ready and all PRs are merged,
And will be deployed in coming release 9360 https://github.com/paritytech/devops/issues/2196

@Polkadot-Forum
Copy link

This issue has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/polkadot-kusama-bridge/2971/2

@acatangiu acatangiu changed the title [P-K Bridge] BridgeHub Kusama & BridgeHub Polkadot parachains story [P-K Bridge] BridgeHub Kusama & BridgeHub Polkadot parachains story (bridge active and live) Jul 21, 2023
@EmmanuellNorbertTulbure EmmanuellNorbertTulbure transferred this issue from paritytech/parity-bridges-common Aug 25, 2023
@the-right-joyce the-right-joyce transferred this issue from paritytech/polkadot-sdk Aug 25, 2023
@svyatonik
Copy link
Contributor

I think we may close it, since the bridge is launched :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants