mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
BridgeHubRococo/Wococo nits + updated subtree (#2572)
* Nits (merge before separatelly) * Small cosmetics for Rococo/Wococo bridge local run * Squashed 'bridges/' changes from 04b3dda6aa..5fc377ab34 5fc377ab34 Support for kusama-polkadot relaying (#2128) 01f4b7f1ba Fix clippy warnings (#2127) 696ff1c368 BHK/P alignments (#2115) 2a66aa3248 Small fixes (#2126) 7810f1a988 Cosmetics (#2124) daf250f69c Remove some `expect()` statements (#2123) 1c5fba8274 temporarily remove balance guard (#2121) 3d0e547361 Propagate message receival confirmation errors (#2116) 1c33143f07 Propagate message verification errors (#2114) b075b00910 Bump time from 0.3.20 to 0.3.21 51a3a51618 Bump serde from 1.0.160 to 1.0.162 da88d044a6 Bump clap from 4.2.5 to 4.2.7 cdca322cd6 Bump sysinfo from 0.28.4 to 0.29.0 git-subtree-dir: bridges git-subtree-split: 5fc377ab34f7dfd3293099c5feec49255e827812 * Fix * Allow to change storage constants (DeliveryReward, RequiredStakeForStakeAndSlash) + tests * Clippy * New SA for RO/WO * Squashed 'bridges/' changes from 5fc377ab34..0f6091d481 0f6091d481 Bump polkadot/substrate (#2134) 9233f0a337 Bump tokio from 1.28.0 to 1.28.1 a29c1caa93 Bump serde from 1.0.162 to 1.0.163 git-subtree-dir: bridges git-subtree-split: 0f6091d48184ebb4f75cb3089befa6b92cf37335
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
- [Bridge-hub Parachains](#bridge-hub-parachains)
|
||||
* [How to test locally Rococo <-> Wococo](#how-to-test-locally-rococo-----wococo)
|
||||
+ [Prepare/Build/Deploy](#prepare-build-deploy)
|
||||
* [Requirements for local run/testing](#requirements-for-local-run-testing)
|
||||
* [How to test locally Rococo <-> Wococo bridge](#how-to-test-locally-rococo-----wococo-bridge)
|
||||
+ [Run chains (Rococo + BridgeHub, Wococo + BridgeHub) with zombienet](#run-chains--rococo---bridgehub--wococo---bridgehub--with-zombienet)
|
||||
+ [Run relayers (Rococo, Wococo)](#run-relayers--rococo--wococo-)
|
||||
+ [Run relayer (BridgeHubRococo, BridgeHubWococo)](#run-relayer--bridgehubrococo--bridgehubwococo-)
|
||||
- [Run with script (alternative 1)](#run-with-script--alternative-1-)
|
||||
- [Run with binary (alternative 2)](#run-with-binary--alternative-2-)
|
||||
+ [Send messages](#send-messages)
|
||||
@@ -29,9 +29,8 @@ The current trustless bridges planned for the BridgeHub(s) are:
|
||||
|
||||

|
||||
|
||||
## How to test locally Rococo <-> Wococo
|
||||
## Requirements for local run/testing
|
||||
|
||||
### Prepare/Build/Deploy
|
||||
```
|
||||
# Prepare empty directory for testing
|
||||
mkdir -p ~/local_bridge_testing/bin
|
||||
@@ -44,7 +43,13 @@ Copy the apropriate binary (zombienet-linux) from the latest release to ~/local_
|
||||
# 2. Build polkadot binary
|
||||
git clone https://github.com/paritytech/polkadot.git
|
||||
cd polkadot
|
||||
cargo build --release
|
||||
|
||||
# if you want to test Kusama/Polkadot bridge, we need "sudo pallet + fast-runtime",
|
||||
# so please, find the latest polkadot's repository branch `it/release-vX.Y.Z-fast-sudo`
|
||||
# e.g:
|
||||
# git checkout -b it/release-v0.9.42-fast-sudo --track origin/it/release-v0.9.42-fast-sudo
|
||||
|
||||
cargo build --release --features fast-runtime
|
||||
cp target/release/polkadot ~/local_bridge_testing/bin/polkadot
|
||||
|
||||
# 3. Build cumulus polkadot-parachain binary
|
||||
@@ -69,6 +74,8 @@ cargo build --release --locked -p polkadot-parachain-bin
|
||||
cp target/release/polkadot-parachain ~/local_bridge_testing/bin/polkadot-parachain-mint
|
||||
```
|
||||
|
||||
## How to test locally Rococo <-> Wococo bridge
|
||||
|
||||
### Run chains (Rococo + BridgeHub, Wococo + BridgeHub) with zombienet
|
||||
|
||||
```
|
||||
@@ -87,7 +94,7 @@ POLKADOT_PARACHAIN_BINARY_PATH_FOR_WOCKMINT=~/local_bridge_testing/bin/polkadot-
|
||||
~/local_bridge_testing/bin/zombienet-linux --provider native spawn ./zombienet/bridge-hubs/bridge_hub_wococo_local_network.toml
|
||||
```
|
||||
|
||||
### Run relayers (Rococo, Wococo)
|
||||
### Run relayer (BridgeHubRococo, BridgeHubWococo)
|
||||
|
||||
**Accounts of BridgeHub parachains:**
|
||||
- `Bob` is pallet owner of all bridge pallets
|
||||
|
||||
Reference in New Issue
Block a user