Files
pezkuwi-subxt/cumulus/zombienet/tests/0007-full_node_warp_sync.toml
T
Sebastian Kunert df818d2974 Move cumulus zombienet tests to aura & async backing (#3568)
Cumulus test-parachain node and test runtime were still using relay
chain consensus and 12s blocktimes. With async backing around the corner
on the major chains we should switch our tests too.

Also needed to nicely test the changes coming to collators in #3168.

### Changes Overview
- Followed the [migration
guide](https://wiki.polkadot.network/docs/maintain-guides-async-backing)
for async backing for the cumulus-test-runtime
- Adjusted the cumulus-test-service to use the correct import-queue,
lookahead collator etc.
- The block validation function now uses the Aura Ext Executor so that
the seal of the block is validated
- Previous point requires that we seal block before calling into
`validate_block`, I introduced a helper function for that
- Test client adjusted to provide a slot to the relay chain proof and
the aura pre-digest
2024-04-09 16:53:30 +00:00

95 lines
3.4 KiB
TOML

[relaychain]
default_image = "{{RELAY_IMAGE}}"
default_command = "polkadot"
default_args = [ "-lparachain=debug" ]
chain = "rococo-local"
chain_spec_path = "0007-warp-sync-relaychain-spec.json"
[[relaychain.nodes]]
name = "alice"
validator = true
db_snapshot = "https://storage.googleapis.com/zombienet-db-snaps/cumulus/0007-full_node_warp_sync/relaychain-12523fe793bff9f6d68651816879a09eec2c1462.tgz"
[[relaychain.nodes]]
name = "bob"
validator = true
db_snapshot = "https://storage.googleapis.com/zombienet-db-snaps/cumulus/0007-full_node_warp_sync/relaychain-12523fe793bff9f6d68651816879a09eec2c1462.tgz"
[[relaychain.nodes]]
name = "charlie"
validator = true
db_snapshot = "https://storage.googleapis.com/zombienet-db-snaps/cumulus/0007-full_node_warp_sync/relaychain-12523fe793bff9f6d68651816879a09eec2c1462.tgz"
[[relaychain.nodes]]
name = "dave"
validator = true
args = ["--no-beefy", "--sync warp", "--reserved-only", "--reserved-nodes {{'alice'|zombie('multiAddress')}} {{'bob'|zombie('multiAddress')}} {{'charlie'|zombie('multiAddress')}}"]
[[parachains]]
id = 2000
cumulus_based = true
chain_spec_path = "0007-warp-sync-parachain-spec.json"
add_to_genesis = false
# Run 'dave' as parachain collator.
[[parachains.collators]]
name = "dave"
validator = true
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lparachain=debug"]
db_snapshot = "https://storage.googleapis.com/zombienet-db-snaps/cumulus/0007-full_node_warp_sync/parachain-f9bb05af6bef7afa50368540f5033f62359e9e5d.tgz"
# Run 'eve' as parachain collator.
[[parachains.collators]]
name = "eve"
validator = true
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lparachain=debug"]
db_snapshot = "https://storage.googleapis.com/zombienet-db-snaps/cumulus/0007-full_node_warp_sync/parachain-f9bb05af6bef7afa50368540f5033f62359e9e5d.tgz"
# Run 'ferdie' as parachain collator.
[[parachains.collators]]
name = "ferdie"
validator = true
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lparachain=debug"]
db_snapshot = "https://storage.googleapis.com/zombienet-db-snaps/cumulus/0007-full_node_warp_sync/parachain-f9bb05af6bef7afa50368540f5033f62359e9e5d.tgz"
# Run 'one' as parachain full node. Parachain and relay chain are warpsyncing.
[[parachains.collators]]
name = "one"
validator = false
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lsync=debug","--sync warp","--","--sync warp"]
# Run 'two' as parachain full node. Parachain is warpsyncing and the node
# uses relay chain node 'alice' as external RPC node.
[[parachains.collators]]
name = "two"
validator = false
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lsync=debug","--sync warp","--relay-chain-rpc-urls {{'alice'|zombie('wsUri')}}"]
# Run 'three' as parachain full node. Parachain is warpsyncing and the node
# uses relay chain node 'dave' as external RPC node.
[[parachains.collators]]
name = "three"
validator = false
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lsync=debug","--sync warp","--relay-chain-rpc-urls {{'dave'|zombie('wsUri')}}"]
# Run 'four' as parachain full node. Parachain is warpsyncing and the node
# uses an internal relay chain light client.
[[parachains.collators]]
name = "four"
validator = false
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lsync=debug","--sync warp","--relay-chain-light-client"]