File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
substrate/zombienet/0002-validators-warp-sync Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ chain_spec_path = "chain-spec.json"
1818 validator = true
1919 args = [" --log=beefy=debug" , " --sync warp" ]
2020
21+ [[relaychain .nodes ]]
22+ name = " other-validator"
23+ validator = true
24+ args = [" --log=beefy=debug" , " --sync warp" ]
25+
2126 # we need at least 3 nodes for warp sync
2227 [[relaychain .nodes ]]
2328 name = " charlie"
Original file line number Diff line number Diff line change @@ -31,6 +31,15 @@ bob: log line matches "Block history download is complete" within 120 seconds
3131alice: reports block height is at least {{DB_BLOCK_HEIGHT}} within 10 seconds
3232bob: reports block height is at least {{DB_BLOCK_HEIGHT}} within 10 seconds
3333
34+ # We can be in a case where finality is lagging. For example:
35+ # Let's wait until finality works correctly.
36+ alice: reports substrate_block_height{status="finalized"} is at least {{DB_BLOCK_HEIGHT}} within 120 seconds
37+ bob: reports substrate_block_height{status="finalized"} is at least {{DB_BLOCK_HEIGHT}} within 120 seconds
38+
39+ # Make sure that BEEFY voting started.
40+ alice: reports substrate_beefy_best_block is at least 1 within 60 seconds
41+ bob: reports substrate_beefy_best_block is at least 1 within 60 seconds
42+ # Make sure that BEEFY voting is advancing
3443# In the worst case scenario, the validators should vote on 1 mandatory block each 6 seconds. And 1 era = 200 blocks.
3544alice: reports substrate_beefy_best_block is at least {{200*180/6}} within 180 seconds
3645bob: reports substrate_beefy_best_block is at least {{200*180/6}} within 180 seconds
You can’t perform that action at this time.
0 commit comments