add warp_sync_params (#1909)
* wait for relay chain to sync then get parachain header * Spawn new thread to wait for the target block * second round of comments from the PR on substrate * third round of pr comments * add zombienet tests * rebase issues * refactor tests based on pr comments * rebase issues * pr comments * passing zombienet test * cargo +nightly fmt * Update client/network/src/lib.rs Co-authored-by:Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * use cargo lock from master * pr comments * cargo fmt * use finalised block instead of best block * use import notification stream * rebase changes * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/relay-chain-interface/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/relay-chain-interface/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * pr comments * use new file names * db snaphots moved to google cloud storage * Update client/network/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update client/service/src/lib.rs Co-authored-by:
Sebastian Kunert <skunert49@gmail.com> * pr comments * Update zombienet/tests/0007-full_node_warp_sync.toml Co-authored-by:
Sebastian Kunert <skunert49@gmail.com> * Update zombienet/tests/0007-full_node_warp_sync.toml Co-authored-by:
Sebastian Kunert <skunert49@gmail.com> * Scenario 1 Parachain node and in-node relay chain both start with --sync warp. This ensures that the waiting logic works as expected. Scenario 2 Parachain node starts with warp sync, relay chain points to a node already synced up scenario 3 Parachain node starts with warp sync, relay chain points to a node that uses warp sync * Use test-parachain * use test-parachain chainspecs * remove relay chain spec as it is no longer required * add back relaychain spec file * pr comments * Upload snapshots to google cloud * Update zombienet/tests/0007-prepare-warp-sync-db-snapshot.md Co-authored-by:
Sebastian Kunert <skunert49@gmail.com> * update documentation * Fix snapshot URLs * use master lock file * add finalized_block_hash * Patch diener for CI * Bump Zombienet * Add 0007 zombienet test * Bump zombienet * Revert "Patch diener for CI" This reverts commit 9ece6c9fc9b17058b61cd7e9dee29d3a9af87841. * merge fixes * use master lock file * Update Substrate & Polkadot --------- Co-authored-by:
Bastian Köcher <git@kchr.de> Co-authored-by:
Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Co-authored-by:
Sebastian Kunert <skunert49@gmail.com> Co-authored-by:
Bastian Köcher <info@kchr.de>
Showing
- cumulus/.gitlab-ci.yml 1 addition, 1 deletioncumulus/.gitlab-ci.yml
- cumulus/Cargo.lock 280 additions, 292 deletionscumulus/Cargo.lock
- cumulus/client/consensus/common/src/tests.rs 4 additions, 0 deletionscumulus/client/consensus/common/src/tests.rs
- cumulus/client/network/src/lib.rs 0 additions, 1 deletioncumulus/client/network/src/lib.rs
- cumulus/client/network/src/tests.rs 3 additions, 0 deletionscumulus/client/network/src/tests.rs
- cumulus/client/relay-chain-inprocess-interface/src/lib.rs 4 additions, 0 deletionscumulus/client/relay-chain-inprocess-interface/src/lib.rs
- cumulus/client/relay-chain-interface/src/lib.rs 7 additions, 0 deletionscumulus/client/relay-chain-interface/src/lib.rs
- cumulus/client/relay-chain-rpc-interface/src/lib.rs 4 additions, 0 deletionscumulus/client/relay-chain-rpc-interface/src/lib.rs
- cumulus/client/service/Cargo.toml 8 additions, 1 deletioncumulus/client/service/Cargo.toml
- cumulus/client/service/src/lib.rs 186 additions, 11 deletionscumulus/client/service/src/lib.rs
- cumulus/parachain-template/node/src/service.rs 8 additions, 13 deletionscumulus/parachain-template/node/src/service.rs
- cumulus/polkadot-parachain/src/service.rs 20 additions, 33 deletionscumulus/polkadot-parachain/src/service.rs
- cumulus/scripts/ci/gitlab/pipeline/zombienet.yml 12 additions, 0 deletionscumulus/scripts/ci/gitlab/pipeline/zombienet.yml
- cumulus/test/service/src/lib.rs 10 additions, 12 deletionscumulus/test/service/src/lib.rs
- cumulus/zombienet/tests/0007-full_node_warp_sync.feature 14 additions, 0 deletionscumulus/zombienet/tests/0007-full_node_warp_sync.feature
- cumulus/zombienet/tests/0007-full_node_warp_sync.toml 77 additions, 0 deletionscumulus/zombienet/tests/0007-full_node_warp_sync.toml
- cumulus/zombienet/tests/0007-prepare-warp-sync-db-snapshot.md 37 additions, 0 deletions...lus/zombienet/tests/0007-prepare-warp-sync-db-snapshot.md
- cumulus/zombienet/tests/0007-warp-sync-parachain-spec.json 53 additions, 0 deletionscumulus/zombienet/tests/0007-warp-sync-parachain-spec.json
- cumulus/zombienet/tests/0007-warp-sync-relaychain-spec.json 171 additions, 0 deletionscumulus/zombienet/tests/0007-warp-sync-relaychain-spec.json
Please register or sign in to comment