Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add RPC nodes to pov-recovery test #1807

Merged
merged 2 commits into from
Oct 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions zombienet_tests/0002-pov_recovery.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ validator-3: is up
alice: is up within 60 seconds
bob: is up within 60 seconds
charlie: is up within 60 seconds
one: is up within 60 seconds
two: is up within 60 seconds

# wait 30 blocks and register parachain
validator-3: reports block height is at least 30 within 250 seconds
Expand All @@ -20,3 +22,5 @@ validator-0: parachain 2000 is registered within 300 seconds
bob: reports block height is at least 20 within 600 seconds
alice: reports block height is at least 20 within 600 seconds
charlie: reports block height is at least 20 within 600 seconds
one: reports block height is at least 20 within 600 seconds
two: reports block height is at least 20 within 600 seconds
16 changes: 16 additions & 0 deletions zombienet_tests/0002-pov_recovery.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,19 @@ add_to_genesis = false
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lparachain::availability=trace,sync=debug,parachain=debug,cumulus-pov-recovery=debug", "--disable-block-announcements", "--bootnodes {{'bob'|zombie('multiAddress')}}","--", "--reserved-only", "--reserved-nodes {{'ferdie'|zombie('multiAddress')}}"]

# run one as a RPC collator who does not produce blocks
[[parachains.collators]]
name = "one"
validator = true # collator
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lparachain::availability=trace,sync=debug,parachain=debug,cumulus-pov-recovery=debug", "--use-null-consensus", "--disable-block-announcements", "--bootnodes {{'bob'|zombie('multiAddress')}}", "--relay-chain-rpc-url {{'ferdie'|zombie('wsUri')}}", "--", "--reserved-only", "--reserved-nodes {{'ferdie'|zombie('multiAddress')}}"]

# run two as a RPC parachain full node
[[parachains.collators]]
name = "two"
validator = false # full node
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lparachain::availability=trace,sync=debug,parachain=debug,cumulus-pov-recovery=debug", "--disable-block-announcements", "--bootnodes {{'bob'|zombie('multiAddress')}}", "--relay-chain-rpc-url {{'ferdie'|zombie('wsUri')}}", "--", "--reserved-only", "--reserved-nodes {{'ferdie'|zombie('multiAddress')}}"]