Skip to content

chore(deps): bump reth to feat/migrate-v2-resume for --resume flag#388

Draft
chee-chyuan wants to merge 1 commit into
developfrom
feat/migrate-v2-resume
Draft

chore(deps): bump reth to feat/migrate-v2-resume for --resume flag#388
chee-chyuan wants to merge 1 commit into
developfrom
feat/migrate-v2-resume

Conversation

@chee-chyuan

Copy link
Copy Markdown
Contributor

Summary

Tracks bnb-chain/reth#203 — adds the migrate-v2 --resume flag needed to finish a half-completed v1 → v2 storage migration without redoing the multi-day changeset/receipt phases.

Why

On a 9.3 TB BSC archive the migration was OOM-killed after StorageSettings was already flipped to v2 but before clear_recomputable_tables did any writes. Re-running stock migrate-v2 hits the "already v2, nothing to do" early-exit and leaves the DB in a half-migrated state (changesets/receipts in static files, MDBX still full of v1 tables, stage checkpoints not reset). --resume jumps straight to clear + compact + swap.

This PR only flips the bnb-chain/reth deps from tag = "v0.0.10" to branch = "feat/migrate-v2-resume". Merge after bnb-chain/reth#203 lands and is retagged (or change to point at the new tag).

Test plan

  • cargo build --release
  • Run reth-bsc db migrate-v2 --resume on a half-migrated archive

🤖 Generated with Claude Code

Tracks bnb-chain/reth#203 for the migrate-v2
--resume flag needed to finish a half-completed v1 → v2 archive
migration without re-running the multi-day changeset/receipt phases.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hashdit-bot

hashdit-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

Pull Request Review

This PR updates Cargo.toml dependency sources for a large set of reth crates from a fixed tag (v0.0.10) to a feature branch (feat/migrate-v2-resume). The intent is to consume upstream support for migrate-v2 --resume so partially completed v1→v2 DB migrations can be resumed rather than incorrectly early-exiting. No application logic changes are included in this diff; it is strictly a dependency source change.

Sensitive Content

No sensitive content detected.

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant