mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
25 lines
732 B
Bash
Executable File
25 lines
732 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Run an instance of the Rococo -> Wococo header sync.
|
|
#
|
|
# Right now this relies on local Wococo and Rococo networks
|
|
# running (which include `pallet-bridge-grandpa` in their
|
|
# runtimes), but in the future it could use use public RPC nodes.
|
|
|
|
set -xeu
|
|
|
|
RUST_LOG=rpc=trace,bridge=trace ./target/debug/substrate-relay init-bridge rococo-to-wococo \
|
|
--source-host 127.0.0.1 \
|
|
--source-port 9955 \
|
|
--target-host 127.0.0.1 \
|
|
--target-port 9944 \
|
|
--target-signer //Alice
|
|
|
|
RUST_LOG=rpc=trace,bridge=trace ./target/debug/substrate-relay relay-headers rococo-to-wococo \
|
|
--source-host 127.0.0.1 \
|
|
--source-port 9955 \
|
|
--target-host 127.0.0.1 \
|
|
--target-port 9944 \
|
|
--target-signer //Bob \
|
|
--prometheus-host=0.0.0.0 \
|