Skip to content

Commit

Permalink
substrate: chain-spec paths corrected in zombienet tests (#1362)
Browse files Browse the repository at this point in the history
* substrate: chain-spec paths corrected in zombienet tests

* fix chain-spec path in cumulus test

* disable beefy on validator

---------

Co-authored-by: Javier Viola <javier@parity.io>
  • Loading branch information
2 people authored and Daanvdplas committed Sep 11, 2023
1 parent 6a7b51c commit f2c8721
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cumulus/zombienet/tests/0007-full_node_warp_sync.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_image = "{{RELAY_IMAGE}}"
default_command = "polkadot"
default_args = [ "-lparachain=debug" ]
chain = "rococo-local"
chain_spec_path = "cumulus/zombienet/tests/0007-warp-sync-relaychain-spec.json"
chain_spec_path = "0007-warp-sync-relaychain-spec.json"

[[relaychain.nodes]]
name = "alice"
Expand All @@ -23,12 +23,12 @@ chain_spec_path = "cumulus/zombienet/tests/0007-warp-sync-relaychain-spec.json"
[[relaychain.nodes]]
name = "dave"
validator = true
args = ["--sync warp", "--reserved-only", "--reserved-nodes {{'alice'|zombie('multiAddress')}} {{'bob'|zombie('multiAddress')}} {{'charlie'|zombie('multiAddress')}}"]
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 = "cumulus/zombienet/tests/0007-warp-sync-parachain-spec.json"
chain_spec_path = "0007-warp-sync-parachain-spec.json"
add_to_genesis = false

# Run 'dave' as parachain collator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}"
default_command = "substrate"

chain = "gen-db"
chain_spec_path = "substrate/zombienet/0001-basic-warp-sync/chain-spec.json"
chain_spec_path = "chain-spec.json"

[[relaychain.nodes]]
name = "alice"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}"
default_command = "substrate"

chain = "gen-db"
chain_spec_path = "substrate/zombienet/0002-validators-warp-sync/chain-spec.json"
chain_spec_path = "chain-spec.json"

[[relaychain.nodes]]
name = "alice"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}"
default_command = "substrate"

chain = "gen-db"
chain_spec_path = "substrate/zombienet/0003-block-building-warp-sync/chain-spec.json"
chain_spec_path = "chain-spec.json"

#we need at least 3 nodes for warp sync
[[relaychain.nodes]]
Expand Down

0 comments on commit f2c8721

Please sign in to comment.