Skip to content

Commit dc6bbe4

Browse files
committed
Add commands how to relay Polkadot finality
1 parent 1e628f3 commit dc6bbe4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

zombienet/adjust_bp_spec.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,25 @@
1313
# This will return hex encoded call `pallet_bridge_grandpa::Call::initialize { init_data }`,
1414
# and then we can log `init_data` as JSON by: `serde_json::to_string(&init_data)` and use it for genesis JSON.
1515

16+
# After launch, we can relay Polkadot finality
17+
#~/local_bridge_testing/bin/substrate-relay relay-headers polkadot-to-polkadot-bulletin \
18+
# --only-free-headers \
19+
# --source-uri wss://polkadot-rpc.dwellir.com \
20+
# --source-version-mode Auto \
21+
# --target-uri ws://localhost:10000 \
22+
# --target-version-mode Auto \
23+
# --target-signer //Alice \
24+
# --target-transactions-mortality 4
25+
#
26+
#~/local_bridge_testing/bin/substrate-relay relay-parachains polkadot-to-polkadot-bulletin \
27+
# --only-free-headers \
28+
# --source-uri wss://polkadot-rpc.dwellir.com \
29+
# --source-version-mode Auto \
30+
# --target-uri ws://localhost:10000 \
31+
# --target-version-mode Auto \
32+
# --target-signer //Alice \
33+
# --target-transactions-mortality 4
34+
1635
# Add Alice(`5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY`) as pre-defined validator
1736
# We do this only if there is a `.genesis.runtimeGenesis.patch` object.
1837
# Otherwise we're working with the raw chain spec.

0 commit comments

Comments
 (0)