-
Notifications
You must be signed in to change notification settings - Fork 129
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
BridgeHub Rococo<>Wococo parachains story #1671
Comments
Added section https://github.com/paritytech/devops/issues/1934#issuecomment-1334993205 |
Accounts prepared. |
complex relayer is running on live.
|
deployed live |
xcm:Transact
orxcm:Trap
betweenRococo:Rockmine2
andWococo:Wockmint
Rococo:Rockmine2
andWococo:Wockmint
Base
Cumulus github with BridgeHub runtimes: https://github.com/paritytech/cumulus/tree/bridge-hub-rococo-wococo/parachains/runtimes/bridge-hubs
Local setup
See: https://github.com/paritytech/cumulus/tree/bridge-hub-rococo-wococo/parachains/runtimes/bridge-hubs#how-to-test-locally-rococo---wococo
Live environment
Deployment
With help of DevOps guys
https://github.com/paritytech/devops/issues/1934
https://github.com/paritytech/devops/issues/1935
https://github.com/paritytech/devops/issues/2190
Parachain collators + validators
Rococo:
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-rpc.polkadot.io#/explorer
BridgeHubRococo:
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-bridge-hub-rpc.polkadot.io#/explorer
Logs: here
Rockmine2:
https://polkadot.js.org/apps/?rpc=wss%253A%252F%252Fws-rococo-rockmine2-collator-node-0.parity-testnet.parity.io#/explorer
Wococo: (needs VPN - https://github.com/paritytech/devops/issues/2030)
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fwococo-rpc-node-0.parity-testnet.parity.io#/explorer
BridgeHubWococo:
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fwococo-bridge-hub-rpc.polkadot.io#/explorer
Logs: here
Wockmint: (needs VPN - https://github.com/paritytech/devops/issues/2030)
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fws-wococo-wockmint-collator-node-0.parity-testnet.parity.io#/explorer
Relayers
Logs: here
Deployed version: here
Monitoring/alerts
TODO: #1715
Monitoring: BridgeHubRococo -> BridgeHubWococo
Monitoring: BridgeHubWococo -> BridgeHubRococo
Relayer accounts
BridgeHubRococo:
5HWAWSumAEhLPM4YDATQDy9nnQKcsptPAwsWWBSq757LHc92
BridgeHubWococo:
5HHUmazpcoj5cAmR3exskbQTxxCCx8UB1ZYtwbY2tbD2Pvfb
Initialize bridges
Init bridge: Rococo -> Wococo
initialize
init-bridge call ashex-encoded-data
:Check
hex-encoded-data
here: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fwococo-bridge-hub-rpc.polkadot.io#/extrinsics/decodeSimulate governance as submit extrinsic
XCM::Transact
withhex-encoded-data
forpara_id=1014
from Wococo relay nodeInit bridge: Wococo -> Rococo
initialize
init-bridge call ashex-encoded-data
: (needs VPN, because of Wococo relay node access)Check
hex-encoded-data
here: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-bridge-hub-rpc.polkadot.io#/extrinsics/decodeSimulate governance as submit extrinsic
XCM::Transact
withhex-encoded-data
forpara_id=1013
from Rococo relay nodeRedeploy relayer
paritytech/bridges-common-relay:[tag-name]
will be automatically generated right after adding the tag. You can check for it here.Use-cases
Send
xcm:Transact
orxcm:Trap
betweenRococo:Rockmine2
andWococo:Wockmint
Open HRMP channels: (https://github.com/paritytech/devops/issues/2190)
Calls from Rococo relay chain:
force_open_hrmp_channel(1013, 1015, 5, 102400)
force_open_hrmp_channel(1015, 1013, 5, 102400)
Calls from Wococo relay chain:
force_open_hrmp_channel(1014, 1000, 4, 524288)
force_open_hrmp_channel(1000, 1014, 4, 524288)
Asset transfer between
Rococo:Rockmine2
andWococo:Wockmint
There is a kubernetes cron job deployed in testnet infra for Rococo/Wococo, which basically uses script
transfer-asset-from-statemine-rococo
from Cumulus repo.This script periodically calls dedicated extrinsic
transfer_asset_via_bridge
for from the PR.The script transfers assets between accounts:
From
Rockmine2: GegTpZJMyzkntLN7NJhRfHDk4GWukLbGSsag6PHrLSrCK4h
toWockmint: 5Ge7YcbctWCP1CccugzxWDn9hFnTxvTh3bL6PNy4ubNJmp7Y
.Issues/TODOs:
xcm:Transact
- [xcm-v3] Bridgingxcm:v3:Transact
and handlingAccountId32
on target chain (with different globalConsensus) polkadot#6517The text was updated successfully, but these errors were encountered: