mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
Warp sync zombienet tests: add basic BEEFY checks (#2854)
Part of https://github.com/paritytech/polkadot-sdk/issues/2787 This is an initial PR that adds some basic BEEFY checks to the warp sync zombienet tests. To be more specific, it does the following: - Changes the snapshot used by the warp sync zombienet tests to one built from an updated version of the kitchensink runtime, that supports BEEFY - Adds some basic BEEFY checks to the warp sync zombienet tests - Deduplicates some params of the warp sync zombienet tests, making them easier to extend
This commit is contained in:
@@ -40,6 +40,16 @@
|
||||
tags:
|
||||
- zombienet-polkadot-integration-test
|
||||
|
||||
.zombienet-substrate-warp-sync-common:
|
||||
extends:
|
||||
- .zombienet-substrate-common
|
||||
variables:
|
||||
# DB generated from commit: https://github.com/paritytech/polkadot-sdk/commit/2e4b8996c4924fc39f85198019039cf0987f89ec
|
||||
# TODO: As a workaround for https://github.com/paritytech/polkadot-sdk/issues/2568 the DB was generated in archive mode.
|
||||
# After the issue is fixed, we should replace it with a pruned version of the DB.
|
||||
DB_SNAPSHOT: "https://storage.googleapis.com/zombienet-db-snaps/substrate/0001-basic-warp-sync/chains-510ac1c891afe26bad6fcd6d74185917b3fb1b4f.tgz"
|
||||
DB_BLOCK_HEIGHT: 47222
|
||||
|
||||
zombienet-substrate-0000-block-building:
|
||||
extends:
|
||||
- .zombienet-substrate-common
|
||||
@@ -50,7 +60,7 @@ zombienet-substrate-0000-block-building:
|
||||
|
||||
zombienet-substrate-0001-basic-warp-sync:
|
||||
extends:
|
||||
- .zombienet-substrate-common
|
||||
- .zombienet-substrate-warp-sync-common
|
||||
script:
|
||||
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
|
||||
--local-dir="${LOCAL_DIR}/0001-basic-warp-sync"
|
||||
@@ -58,7 +68,10 @@ zombienet-substrate-0001-basic-warp-sync:
|
||||
|
||||
zombienet-substrate-0002-validators-warp-sync:
|
||||
extends:
|
||||
- .zombienet-substrate-common
|
||||
- .zombienet-substrate-warp-sync-common
|
||||
before_script:
|
||||
- !reference [.zombienet-substrate-warp-sync-common, before_script]
|
||||
- cp --remove-destination ${LOCAL_DIR}/0001-basic-warp-sync/chain-spec.json ${LOCAL_DIR}/0002-validators-warp-sync
|
||||
script:
|
||||
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
|
||||
--local-dir="${LOCAL_DIR}/0002-validators-warp-sync"
|
||||
@@ -66,7 +79,10 @@ zombienet-substrate-0002-validators-warp-sync:
|
||||
|
||||
zombienet-substrate-0003-block-building-warp-sync:
|
||||
extends:
|
||||
- .zombienet-substrate-common
|
||||
- .zombienet-substrate-warp-sync-common
|
||||
before_script:
|
||||
- !reference [.zombienet-substrate-warp-sync-common, before_script]
|
||||
- cp --remove-destination ${LOCAL_DIR}/0001-basic-warp-sync/chain-spec.json ${LOCAL_DIR}/0003-block-building-warp-sync
|
||||
script:
|
||||
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
|
||||
--local-dir="${LOCAL_DIR}/0003-block-building-warp-sync"
|
||||
|
||||
Reference in New Issue
Block a user