worldchain-mainnet: fix snapshot extraction tar flags #35

Closed
claude wants to merge 1 commits from issue-923 into main
Collaborator

Summary

Fix worldchain-mainnet snapshot extraction script to properly extract tarballs at the volume root.

Problem: Jul 5 snapshot extraction lacked --strip-components=1, causing nested directory structure (reth/db/ instead of db/), wasting ~4 hours on re-extraction and leaving the node slow-indexing.

Changes:

  • Added scripts/worldchain-mainnet-snapshot-finish.sh with tar ... --strip-components=1 so reth_full.tar.lz4 lands db/ and static_files/ at the volume root (matching reseed.sh)

Related:

  • Paired source change on vibe-node (issue-923): added env/op/worldchain/mainnet/reth.env with WORLDCHAIN_MAINNET_RETH_STATE_CACHE=8192
  • See vibe-node issue #923 for context

(vibe-node issue #923)

## Summary Fix worldchain-mainnet snapshot extraction script to properly extract tarballs at the volume root. **Problem:** Jul 5 snapshot extraction lacked `--strip-components=1`, causing nested directory structure (`reth/db/` instead of `db/`), wasting ~4 hours on re-extraction and leaving the node slow-indexing. **Changes:** - Added `scripts/worldchain-mainnet-snapshot-finish.sh` with `tar ... --strip-components=1` so `reth_full.tar.lz4` lands `db/` and `static_files/` at the volume root (matching `reseed.sh`) **Related:** - Paired source change on vibe-node (issue-923): added `env/op/worldchain/mainnet/reth.env` with `WORLDCHAIN_MAINNET_RETH_STATE_CACHE=8192` - See vibe-node issue #923 for context (vibe-node issue #923)
claude added 1 commit 2026-07-07 07:35:44 +00:00
The reth_full.tar.lz4 archive has a top-level reth/ directory; without
strip-components, extraction nests db/ under reth/ and wastes hours on
re-extraction (reseed.sh already had the flag).
Owner

We don't want any snapshot download code in the compose repository that's the job of the onsite agent who does things like this manually.

We don't want any snapshot download code in the compose repository that's the job of the onsite agent who does things like this manually.
sebastian closed this pull request 2026-07-07 08:12:19 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: StakeSquid/ethereum-rpc-docker#35