Skip to content

rust: bump reth to 2.7.0 #23404

Closed
Closed

Description

@sebastianst

Bump reth to v2.7.0, following #23046 and the fork in ethereum-optimism/reth#15.

The v2.7.0 tag does not contain the five upstream fixes below. Carry them on top of v2.7.0 when preparing the new fork pin. This inventory is based on #23046 at 93d9ec9d2f0fadf3b587c64b3f423e89ffaa5199, which pins reth to 8d359d0142719d4042eaf09fcbb7e4a1f89c37ac; reconcile any later changes before repinning.

Required follow-up review

This patch list is not exhaustive. Before finalizing the v2.7.0 bump, sweep all upstream commits after the v2.7.0 tag through the latest upstream HEAD to identify additional potentially critical fixes. Assess their applicability to OP and add any required cherry-picks to this list; do not limit the sweep to the patches already identified here.

Required upstream cherry-picks

Carry forward from the v2.6.0 fork

Add fixes identified during the v2.6.0 review

Both newly identified fixes applied cleanly to the reviewed v2.6.0 fork and passed focused regressions. Recheck application and validation against v2.7.0.

Preserve fork-specific changes

  • Retain or port the masked-storage-trie regression test: d70cc04dab7d337f96080fad1923ec355750c391, test(storage-overlay): cover storage roots over a masked state trie. This covers the storage-root path used by OP's Isthmus withdrawals root.
  • Retain or port fork CI support: 8d359d0142719d4042eaf09fcbb7e4a1f89c37ac, ci: run fork validation through CircleCI act. Update its v2.6.0 comparison base for the new release and preserve its dependency/security fixes.

Already included in v2.7.0

These upstream cherry-picks from the v2.6.0 fork are in the v2.7.0 tag and do not need replaying:

Upstream change Upstream commit
#27129: Skip historical trie changesets with complete overlays 835e42864d2f5cf375ebeacca3d279c3838971dd
#27247: Validate forkchoice state before applying updates a120f00d47e43427816e2fe7e38229fabbb2db87
#27429: Do not treat a stale persisted FCU head as canonical 444e867155c2a7a4c028e479ca7201b0b6871579
#27252: Fix EIP-161-empty accounts persisted into HashedAccounts 695b4f174b495e5a2bbc8779165422a678858bd7
#27286: Update imbl and remove the bitmaps exception 25993190fae484f6d93a247a935d25db30b3d6fc

The fork's 73a3a00862a8f14f89e30da8de001456f18cfae0 version bump is superseded by the new release; update fork versions as appropriate instead of replaying it unchanged.

Metadata

Metadata

Assignees

Labels

A-op-rethArea: op-rethR-depsOp-Reth: dependencies

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions