mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-18 19:55:40 +00:00
babf73bbc6
* Allow specification of multiple urls for relay chain rpc nodes * Add pooled RPC client basics * Add list of clients to pooled client * Improve * Forward requests to dispatcher * Switch clients on error * Implement rotation logic * Improve subscription handling * Error handling cleanup * Remove retry from rpc-client * Improve naming * Improve documentation * Improve `ClientManager` abstraction * Adjust zombienet test * Add more comments * fmt * Apply reviewers comments * Extract reconnection to extra method * Add comment to reconnection method * Clean up some dependencies * Fix build * fmt * Provide alias for cli argument * Apply review comments * Rename P* to Relay* * Improve zombienet test * fmt * Fix zombienet sleep * Simplify zombienet test * Reduce log clutter and fix starting position * Do not distribute duplicated imported and finalized blocks * fmt * Apply code review suggestions * Move building of relay chain interface to `cumulus-client-service` * Refactoring to not push back into channel * FMT
51 lines
1.4 KiB
TOML
51 lines
1.4 KiB
TOML
[relaychain]
|
|
default_image = "{{RELAY_IMAGE}}"
|
|
default_command = "polkadot"
|
|
default_args = [ "-lparachain=debug" ]
|
|
|
|
chain = "rococo-local"
|
|
|
|
[[relaychain.nodes]]
|
|
name = "alice"
|
|
validator = true
|
|
|
|
[[relaychain.nodes]]
|
|
name = "bob"
|
|
validator = true
|
|
|
|
[[relaychain.nodes]]
|
|
name = "charlie"
|
|
validator = true
|
|
|
|
[[relaychain.nodes]]
|
|
name = "one"
|
|
validator = false
|
|
|
|
[[relaychain.nodes]]
|
|
name = "two"
|
|
validator = false
|
|
|
|
[[relaychain.nodes]]
|
|
name = "three"
|
|
validator = false
|
|
|
|
[[parachains]]
|
|
id = 2000
|
|
cumulus_based = true
|
|
|
|
# run dave as parachain full node
|
|
[[parachains.collators]]
|
|
name = "dave"
|
|
validator = true
|
|
image = "{{COL_IMAGE}}"
|
|
command = "test-parachain"
|
|
args = ["-lparachain=trace,blockchain-rpc-client=debug", "--relay-chain-rpc-urls {{'one'|zombie('wsUri')}} {{'two'|zombie('wsUri')}} {{'three'|zombie('wsUri')}}", "-- --bootnodes {{'one'|zombie('multiAddress')}} {{'two'|zombie('multiAddress')}} {{'three'|zombie('multiAddress')}}"]
|
|
|
|
# run eve as parachain full node
|
|
[[parachains.collators]]
|
|
name = "eve"
|
|
validator = true
|
|
image = "{{COL_IMAGE}}"
|
|
command = "test-parachain"
|
|
args = ["-lparachain=trace,blockchain-rpc-client=debug", "--relay-chain-rpc-urls {{'one'|zombie('wsUri')}} {{'two'|zombie('wsUri')}} {{'three'|zombie('wsUri')}}", "-- --bootnodes {{'one'|zombie('multiAddress')}} {{'two'|zombie('multiAddress')}} {{'three'|zombie('multiAddress')}}"]
|