-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
236 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[settings] | ||
enable_tracing = false | ||
|
||
[relaychain] | ||
default_command = "polkadot" | ||
chain_spec_path = "kagome/zombienet/custom/relay.json" | ||
chain = "rococo_dev" | ||
|
||
[[relaychain.nodes]] | ||
name = "alice" | ||
validator = true | ||
args = ["--sync warp"] | ||
|
||
[[relaychain.nodes]] | ||
name = "bob" | ||
validator = true | ||
command = "kagome" | ||
prometheus_prefix = "kagome" | ||
args = ["--sync Warp"] | ||
|
||
#we need at least 3 nodes for warp sync | ||
[[relaychain.nodes]] | ||
name = "charlie" | ||
validator = true | ||
db_snapshot = "https://www.googleapis.com/drive/v3/files/1Af9XRSXpVUPObCJH_4HE8HFY3K7HE5Q0?alt=media&key=AIzaSyBuxBOn182JNSqH2u347poSwA-d-ttaZPs" | ||
|
||
[[relaychain.nodes]] | ||
name = "dave" | ||
validator = false | ||
db_snapshot = "https://www.googleapis.com/drive/v3/files/1Af9XRSXpVUPObCJH_4HE8HFY3K7HE5Q0?alt=media&key=AIzaSyBuxBOn182JNSqH2u347poSwA-d-ttaZPs" | ||
|
||
[[relaychain.nodes]] | ||
name = "eve" | ||
validator = false | ||
db_snapshot = "https://www.googleapis.com/drive/v3/files/1Af9XRSXpVUPObCJH_4HE8HFY3K7HE5Q0?alt=media&key=AIzaSyBuxBOn182JNSqH2u347poSwA-d-ttaZPs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Description: Warp sync | ||
Network: ./0001-validators-warp-sync.toml | ||
Creds: config | ||
|
||
alice: reports node_roles is 4 | ||
bob: reports node_roles is 4 | ||
charlie: reports node_roles is 4 | ||
dave: reports node_roles is 1 | ||
eve: reports node_roles is 1 | ||
|
||
alice: reports peers count is at least 4 within 60 seconds | ||
bob: reports peers count is at least 4 within 60 seconds | ||
charlie: reports peers count is at least 4 within 60 seconds | ||
dave: reports peers count is at least 4 within 60 seconds | ||
eve: reports peers count is at least 4 within 60 seconds | ||
|
||
# db snapshot has 3340 blocks | ||
charlie: reports block height is at least 3340 within 60 seconds | ||
dave: reports block height is at least 3340 within 60 seconds | ||
eve: reports block height is at least 3340 within 60 seconds | ||
|
||
alice: log line matches "Warp sync is complete" within 60 seconds | ||
bob: log line matches "Synchronizer State syncing block #[0-9]+ \(0x.*?\) has finished." within 60 seconds | ||
|
||
# workaround for: https://github.com/paritytech/zombienet/issues/580 | ||
alice: count of log lines containing "Block history download is complete" is 1 within 60 seconds | ||
|
||
alice: reports block height is at least 3340 within 10 seconds | ||
bob: reports block height is at least 3340 within 10 seconds | ||
|
||
# new block were built | ||
alice: reports block height is at least 3345 within 90 seconds | ||
bob: reports block height is at least 3345 within 90 seconds |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters