feat: Rebrand Polkadot/Substrate references to PezkuwiChain
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
Refer to ../0001-basic-warp-sync/README.md for more details. This test is nearly a clone. We want to warp-sync
|
||||
validators and make sure they can build blocks. 0001-basic-warp-sync chainspec (copied) and database are reused in this
|
||||
test.
|
||||
@@ -0,0 +1 @@
|
||||
../0001-basic-warp-sync/chain-spec.json
|
||||
@@ -0,0 +1,40 @@
|
||||
[settings]
|
||||
enable_tracing = false
|
||||
|
||||
[relaychain]
|
||||
default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}"
|
||||
default_command = "bizinikiwi"
|
||||
|
||||
chain = "local"
|
||||
chain_spec_path = "chain-spec.json"
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "alice"
|
||||
validator = true
|
||||
args = ["--log=beefy=debug", "--sync warp"]
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "bob"
|
||||
validator = true
|
||||
args = ["--log=beefy=debug", "--sync warp"]
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "other-validator"
|
||||
validator = true
|
||||
args = ["--log=beefy=debug", "--sync warp"]
|
||||
|
||||
# we need at least 3 nodes for warp sync
|
||||
[[relaychain.nodes]]
|
||||
name = "charlie"
|
||||
validator = false
|
||||
db_snapshot = "{{DB_SNAPSHOT}}"
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "dave"
|
||||
validator = false
|
||||
db_snapshot = "{{DB_SNAPSHOT}}"
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "eve"
|
||||
validator = false
|
||||
db_snapshot = "{{DB_SNAPSHOT}}"
|
||||
@@ -0,0 +1,55 @@
|
||||
Description: Warp sync
|
||||
Network: ./test-validators-warp-sync.toml
|
||||
Creds: config
|
||||
|
||||
alice: reports node_roles is 4
|
||||
bob: reports node_roles is 4
|
||||
charlie: reports node_roles is 1
|
||||
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 {{DB_BLOCK_HEIGHT}} blocks
|
||||
charlie: reports block height is at least {{DB_BLOCK_HEIGHT}} within 60 seconds
|
||||
dave: reports block height is at least {{DB_BLOCK_HEIGHT}} within 60 seconds
|
||||
eve: reports block height is at least {{DB_BLOCK_HEIGHT}} within 60 seconds
|
||||
|
||||
alice: log line matches "Warp sync is complete" within 60 seconds
|
||||
bob: log line matches "Warp sync is complete" within 60 seconds
|
||||
# State sync is logically part of warp sync
|
||||
alice: log line matches "State sync is complete" within 60 seconds
|
||||
bob: log line matches "State sync is complete" within 60 seconds
|
||||
|
||||
alice: log line matches "Block history download is complete" within 120 seconds
|
||||
bob: log line matches "Block history download is complete" within 120 seconds
|
||||
|
||||
alice: reports block height is at least {{DB_BLOCK_HEIGHT}} within 10 seconds
|
||||
bob: reports block height is at least {{DB_BLOCK_HEIGHT}} within 10 seconds
|
||||
|
||||
# We can be in a case where finality is lagging. For example:
|
||||
# Let's wait until finality works correctly.
|
||||
alice: reports substrate_block_height{status="finalized"} is at least {{DB_BLOCK_HEIGHT}} within 120 seconds
|
||||
bob: reports substrate_block_height{status="finalized"} is at least {{DB_BLOCK_HEIGHT}} within 120 seconds
|
||||
|
||||
# Make sure that BEEFY voting started.
|
||||
alice: reports substrate_beefy_best_block is at least 1 within 60 seconds
|
||||
bob: reports substrate_beefy_best_block is at least 1 within 60 seconds
|
||||
# Make sure that BEEFY voting is advancing
|
||||
# In the worst case scenario, the validators should vote on 1 mandatory block each 6 seconds. And 1 era = 200 blocks.
|
||||
alice: reports substrate_beefy_best_block is at least {{200*180/6}} within 180 seconds
|
||||
bob: reports substrate_beefy_best_block is at least {{200*180/6}} within 180 seconds
|
||||
|
||||
# Validators started without public addresses must emit an error.
|
||||
# Double check the error is the expected one.
|
||||
alice: log line matches "No public addresses configured and no global listen addresses found" within 60 seconds
|
||||
alice: count of log lines containing "error" is 1 within 10 seconds
|
||||
bob: count of log lines containing "verification failed" is 0 within 10 seconds
|
||||
|
||||
# new blocks were built
|
||||
alice: reports block height is greater than {{DB_BLOCK_HEIGHT}} within 90 seconds
|
||||
bob: reports block height is greater than {{DB_BLOCK_HEIGHT}} within 90 seconds
|
||||
Reference in New Issue
Block a user