Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
5234b57
wip hacked warp sync to store blocks
sistemd Sep 8, 2025
4bfe85a
feat(sync): skip gap sync if block pruning is enabled
sistemd Sep 8, 2025
e9ab534
wip it's not good
sistemd Sep 8, 2025
7693e3b
seems to work but gives me stack overflow for some odd reason
sistemd Sep 8, 2025
b06500d
wip for pr
sistemd Sep 8, 2025
9e96373
remove some debugging stuff
sistemd Sep 9, 2025
4fa618c
Merge branch 'master' into sistemd/pruned-gap-sync-consensus-broadcast
sistemd Sep 18, 2025
9ce4b36
allow_missing_parent
lrubasze Nov 17, 2025
32c9824
full_node_warp_sync test: more traces
lrubasze Nov 13, 2025
c7654d4
full_node_warp_sync test: more tracec
lrubasze Nov 14, 2025
78cf02d
full_node_warp_sync test: change debug levels
lrubasze Nov 17, 2025
60fcadb
full_node_warp_sync test: use libp2p
lrubasze Nov 18, 2025
9f72ba6
warp: exclude target block when importing
lrubasze Nov 19, 2025
cdb7964
service client: more debugs
lrubasze Nov 20, 2025
c3608fd
service client: import block if gap not updated for parent block
lrubasze Nov 20, 2025
335d209
babe: revert import_block method
lrubasze Nov 20, 2025
2243786
Revert "babe: revert import_block method"
lrubasze Nov 20, 2025
0ebdf87
babe: add some TODO
lrubasze Nov 20, 2025
698b1a1
full_node_warp_sync test: use default network-backend
lrubasze Nov 25, 2025
1264039
babe: cleanup TODO
lrubasze Nov 25, 2025
00ffe9b
cleanup debugs
lrubasze Nov 25, 2025
1764c5d
full_node_warp_sync test: cleanup debug levels
lrubasze Nov 26, 2025
0b5340e
sync: debug improvements
lrubasze Nov 26, 2025
b2d1109
cumulus-test-service: enable prometheus metrics for import_queue
lrubasze Nov 26, 2025
3ef2b8f
debug if metric enabled
lrubasze Nov 26, 2025
0d572eb
sync: debug improvements
lrubasze Nov 27, 2025
f09283d
full_node_warp_sync test: assert warp sync
lrubasze Nov 27, 2025
f641b10
full_node_warp_sync test: assert gap sync
lrubasze Nov 27, 2025
0e8f38f
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Nov 27, 2025
de63ce1
Revert "debug if metric enabled"
lrubasze Nov 27, 2025
b9ce2d3
Update from github-actions[bot] running command 'prdoc --audience nod…
github-actions[bot] Nov 27, 2025
85b1fec
sp-consensus: Add WarpSync origin
lrubasze Nov 27, 2025
d6bad88
sp-consensus: Add GapSync origin
lrubasze Nov 27, 2025
90faa2e
babe: fix debug
lrubasze Nov 27, 2025
29c1c4f
import-queue: improve debug
lrubasze Nov 27, 2025
0e04d3f
temp debugs
lrubasze Nov 27, 2025
ee8add8
allow_missing_parents false
lrubasze Nov 27, 2025
9fd02dd
simplify logic - get rid of allow_missing_parent
lrubasze Nov 27, 2025
587a493
fmt
lrubasze Nov 27, 2025
573aac1
remove debug
lrubasze Nov 27, 2025
adce235
fix comment
lrubasze Nov 28, 2025
1f58c98
warp: add some comment
lrubasze Nov 28, 2025
6b21144
simplify logic - get rid of block pruning flag for
lrubasze Nov 28, 2025
238ec26
db: add remove_gap closure
lrubasze Nov 28, 2025
32b349b
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Dec 2, 2025
46c50aa
Revert "temp debugs"
lrubasze Dec 2, 2025
f027459
full_node_warp_sync test: return errors instead of panicking
lrubasze Dec 2, 2025
aef5e4d
full_node_warp_sync test: adjust debug levels
lrubasze Dec 2, 2025
9967883
Revert "cumulus-test-service: enable prometheus metrics for import_qu…
lrubasze Dec 2, 2025
1b2953f
babe: restore comment
lrubasze Dec 2, 2025
0aa8fe6
cleanup
lrubasze Dec 3, 2025
c9a1cef
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Dec 3, 2025
13908d7
warp: fix tests
lrubasze Dec 3, 2025
b08890a
Update from github-actions[bot] running command 'prdoc --audience nod…
github-actions[bot] Dec 4, 2025
45414a8
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Dec 15, 2025
f7bfe2e
babe: return before inherents check if WarpSyncorigin
lrubasze Dec 17, 2025
ba1adc4
babe: comment cleanup
lrubasze Dec 17, 2025
2507816
sync: set create_gap only for non-WarpSync origins
lrubasze Dec 17, 2025
8d287c1
db: unify conditions
lrubasze Dec 17, 2025
bb34428
sync: improve comment
lrubasze Dec 18, 2025
457efad
full_node_warp_sync test: improve the scenario
lrubasze Dec 18, 2025
38787a3
full_node_warp_sync test: automatic snapshot generation - WIP
lrubasze Dec 18, 2025
f14f5d3
full_node_warp_sync test: further tweaks
lrubasze Dec 19, 2025
9c98f09
full_node_warp_sync test: automatic snapshot generation - refactor
lrubasze Dec 19, 2025
959184a
full_node_warp_sync test: test dynamically added nodes
lrubasze Dec 19, 2025
a84c61b
full_node_warp_sync test: automatic snapshot generation cleanup
lrubasze Dec 19, 2025
ccdf112
full_node_warp_sync test: readme
lrubasze Dec 19, 2025
3a6c61a
full_node_warp_sync test: readme 2
lrubasze Dec 19, 2025
26c5096
full_node_warp_sync test: change snapshot names
lrubasze Jan 6, 2026
a99c4fd
full_node_warp_sync test: cleanup
lrubasze Jan 6, 2026
383c2c4
full_node_warp_sync test: fix readme and licences
lrubasze Jan 6, 2026
1bf996a
clippy
lrubasze Jan 6, 2026
5e9e0ee
cleanup
lrubasze Jan 6, 2026
a2950cc
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Jan 6, 2026
1009af6
full_node_warp_sync test: tweak adding nodes to the test
lrubasze Jan 6, 2026
2da5fb3
update prdoc
lrubasze Jan 7, 2026
9814c2c
update comment
lrubasze Jan 7, 2026
f62940e
full_node_warp_sync test: simplify
lrubasze Jan 9, 2026
b3f55da
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Jan 9, 2026
26ad1f9
address comments part 1
lrubasze Jan 14, 2026
691e3d1
address comments part 2
lrubasze Jan 14, 2026
35d07d1
full_node_warp_sync test: increase timeouts when asserting warp and g…
lrubasze Jan 14, 2026
6c70c83
improve comment
lrubasze Jan 26, 2026
4dc95a3
babe: improve early return in verify
lrubasze Jan 26, 2026
56da3df
temp debugs
lrubasze Jan 27, 2026
523b6bb
sync: set state action to skip for Warp sync blocks
lrubasze Jan 27, 2026
8984bd5
Revert "temp debugs"
lrubasze Jan 27, 2026
e54d3ae
sync: allow re-importing warp-synced blocks during gap sync
lrubasze Feb 4, 2026
4020a83
add comments
lrubasze Feb 4, 2026
9aea77c
cleanup
lrubasze Feb 4, 2026
d373b82
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Feb 4, 2026
9e3b1d3
Update from github-actions[bot] running command 'fmt'
github-actions[bot] Feb 4, 2026
e3ab13e
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Feb 9, 2026
adbdedd
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Feb 11, 2026
b006a6e
Merge branch 'master' into lrubasze/block-import-improvements
lrubasze Feb 12, 2026
f366cf2
cleanup debugs
lrubasze Feb 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cumulus/zombienet/zombienet-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ rstest = { workspace = true }

[features]
zombie-ci = []
generate-snapshots = []
249 changes: 0 additions & 249 deletions cumulus/zombienet/zombienet-sdk/tests/zombie_ci/full_node_warp_sync.rs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Full Node Warp Sync Test

Integration test verifying warp sync functionality for relay chain and parachain nodes using Zombienet.

## Updating Test Artifacts

Test maintenance involves updating chain specs and database snapshots after runtime changes to `cumulus-test-runtime`
or `rococo-local`.

### Using `generate-snapshots.sh` script

Use the automation script for all steps:

```bash
cd cumulus/zombienet/zombienet-sdk/tests/zombie_ci/full_node_warp_sync

# Run all phases (~24h)
./generate-snapshots.sh all
Comment thread
lrubasze marked this conversation as resolved.

# Or run individual phases
./generate-snapshots.sh build # Build binaries
./generate-snapshots.sh chainspec-parachain # Generate parachain spec
./generate-snapshots.sh chainspec-relaychain # Generate relaychain spec
./generate-snapshots.sh snapshots-generate # Run snapshot generation
./generate-snapshots.sh snapshots-archive # Create snapshot tarballs
./generate-snapshots.sh snapshots-test-local # Validate with local snapshots
```

Once the snapshots are validated they are ready to upload to google storage.

## Testing local snapshots

```bash
DB_SNAPSHOT_RELAYCHAIN_OVERRIDE=$(realpath relaychain-db.tgz) \
DB_SNAPSHOT_PARACHAIN_OVERRIDE=$(realpath parachain-db.tgz) \
TARGET_DIR=$(dirname "$(cargo locate-project --workspace --message-format plain)")/target/release \
PATH="$TARGET_DIR:$PATH" \
RUST_LOG=info,zombienet_orchestrator=debug \
ZOMBIE_PROVIDER=native \
cargo nextest run --release \
-p cumulus-zombienet-sdk-tests \
--features zombie-ci \
--no-capture \
-- full_node_warp_sync
```

Exactly these steps are performed with command:
```bash
./generate-snapshots.sh snapshots-test-local
```
Loading
Loading