Skip to content

deps: update reth from main (2026-11-17) - #9371

Merged
mediocregopher merged 11 commits into
mainfrom
reth-auto-bump
Nov 17, 2026
Merged

mediocregopher merged 11 commits into
mainfrom
reth-auto-bump

Conversation

@decofe

@decofe decofe commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Automated nightly update of reth dependencies from paradigmxyz/reth main branch.

Upstream reth changes

31d05e1...f551b68

🔗 Amp thread: https://ampcode.com/threads/T-01a1e993-b347-76cd-8ff2-f35efe2c042f
RPC

  • Replaced soketto with tokio-tungstenite for WebSockets, then wrote WS frames directly, without tungstenite. Close replies are now preserved, and the WS connection closes on oversized fragmented messages (#28553, #28557, #28558, #28544)
  • Added timeouts for stalled WebSocket reads and idle HTTP/1 keep-alive connections (#28515, #28545)
  • HTTP hardening:
    • Over-limit streamed request bodies get a 413 response, and refused upgrades get a 400.
    • Only the request line is logged.
    • The content-type check compares only the JSON media type.
    • Request input is kept out of params and version errors.
    • (#28546, #28547, #28493, #28503)
  • Server performance work:
    • The RPC service is built once per connection.
    • Sync blocking IO closures run directly.
    • Params are no longer copied for async methods.
    • Response buffers are copied less often.
    • Pubsub notifications are serialized once.
    • (#28522, #28517, #28519, #28500, #28499)
  • Faster lookups:
    • Receipt and tx lookup misses take a single provider read.
    • Cached block transactions are hashed once.
    • MEV bundle metadata is no longer cloned per transaction.
    • (#28524, #28552, #28512)

Engine / Consensus

  • Split the engine tree handler into modules, and split the chain-state in_memory module so in-memory blocks sit behind a single lock (#28507, #28506, #28543)
  • BAL hash validation still runs when the requests hash check is skipped, and BAL retention is capped at the bodies prune distance (#28535, #28529)
  • The engine request span is kept on payload build workers (#28571)

Trie

  • Queued proof jobs are dropped together with their handle, and V1 proofs receive the sorted overlay (#28509, #28570)
  • Added bucketed fuzz coverage (#28541)

Storage / DB

  • History reads are floored at the lowest changeset, RPC trie reverts are no longer cached, and side chain blocks are served by hash (#28549, #28511, #28528)
  • The CLI archives RocksDB SSTs one file at a time (#28456)

EVM

  • Absent accounts are added to witness keys (#28527)
  • Updated evm2 to e681662 (#28540)

Txpool

  • Added the --txpool.enforce-tracked-nonce flag (#28526)

Build

  • Version metadata is stamped into the binaries, and the build timestamp is left out of libmdbx (#28567, #28573)

Testing

  • Trie workers are drained in the engine hashing task test (#28554)

Migrations

🔗 Amp thread: https://ampcode.com/threads/T-01a1e994-010c-74bf-ba4d-8f9ddde55ac8

  • Bumped the reth git dependencies (including the jsonrpsee entry pinned to the reth repo) from 31d05e14 to 0e57f259, reth-core from 275ce4cf to 5dabd396, and evm2 and its DaniPopes patch entries from 66687c18 to e681662b.
  • Replaced the removed GasParams::eip7702_auth_state_gas() helper. Intrinsic gas now adds new_account_state_gas() and GasId::TxEip7702PerAuthState itself.
  • Renamed the remaining eip7702_auth_state_gas() calls in the gas_params.rs tests to new_account_state_gas(). The expected values (225,000 state, 250,000 total per auth) stay the same.
  • Dropped the state_refund field from GasSettlement, since upstream removed it. It is gone from prepare_aa, execute_aa, and every test that builds a GasSettlement.
  • execute_aa now subtracts the authorization state-gas refund from state_gas_spent itself after settle_transaction returns. Before, settle_transaction received it through state_refund. The refund goes back to the reservoir, so it should not count as state gas spent.

GitHub Workflow

@decofe decofe added the A-dependencies Related to dependency updates label Nov 14, 2026
@decofe

decofe commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

derek bench preset=tip20 slack

@tempo-github-sts

tempo-github-sts Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

cc @decofe

✅ Benchmark complete: Improvement View job

✅ Bench Comparison: Improvement

Refs: 35d8b93 vs reth-auto-bump
Criteria: 95% run-bootstrap CI must clear floor; cells show delta (+/-CI/floor).

Configuration

  • Derek command: derek bench mode=e2e preset=tip20 duration=90 bloat=100 token-count=4 tps=50000 accounts=1000 max-concurrent-requests=500 baseline=35d8b937fba89ae0bfdea1edf735fb6f8aa41c23 feature=reth-auto-bump baseline-hardfork="" feature-hardfork="" gas-limit=1000000000000 run-pairs=3 run-side=comparison otlp=true metrics=false no-cache=false force-bloat=false general-gas-limit=1500000000
  • Bloat: 100000 MiB
  • Token count: 4
  • Preset: tip20
  • Target TPS: 50000
  • Duration: 90s
  • Run pairs: 3
  • Baseline blocks: 595
  • Feature blocks: 594

Tempo Metrics

Metric Baseline Feature Delta
TPS Mean 26683 26622 -0.23% ⚪ (+/-0.65/floor 0.55)
Gas Throughput [Mgas/s] 1395.8 1392.6 -0.23% ⚪ (+/-0.67/floor 0.50)
Block Time Mean [ms] 453.3 452.8 -0.11% ⚪ (+/-1.08/floor 0.40)
Block Time P50 [ms] 460.0 461.0 +0.22% ⚪ (+/-1.59/floor 0.70)
Block Time P90 [ms] 584.0 585.0 +0.17% ⚪ (+/-1.46/floor 0.70)
Block Time P99 [ms] 755.0 745.0 -1.32% ⚪ (+/-5.34/floor 1.60)

Builder

Metric Baseline Feature Delta
Gas Throughput [Mgas/s] 2534.8 2519.9 -0.59% ⚪ (+/-0.92/floor 0.95)
P50 [ms] 245.2 246.0 +0.33% ⚪ (+/-1.43/floor 0.45)
P90 [ms] 285.2 282.3 -1.02% ⚪ (+/-1.28/floor 0.90)
P99 [ms] 358.2 361.6 +0.95% ⚪ (+/-18.27/floor 1.25)
Builder details
Metric Baseline Feature Delta
Finish P50 [ms] 28.4 28.5 +0.35%
Finish P90 [ms] 57.3 53.4 -6.81%
Finish P99 [ms] 127.3 148.3 +16.50%
Pool Fetch P50 [ms] 10.7 11.0 +2.80%
Pool Fetch P90 [ms] 18.5 18.5 +0.00%
Pool Fetch P99 [ms] 30.0 28.5 -5.00%
Invalid Tx Attempts P99 12096.0 12032.0 -0.53%
Stop Reason — Build Budget 588 588 +0.00%
Serialized Block Size P50 [KiB] 3124.0 3098.6 -0.81%
Serialized Block Size P90 [KiB] 3680.5 3663.8 -0.46%
Serialized Block Size P99 [KiB] 3893.3 3876.0 -0.44%
Serialized Block Size / Tx P50 [B/tx] 260.2 260.2 +0.00%
Serialized Block Size / Tx P90 [B/tx] 260.2 260.2 +0.00%
Serialized Block Size / Tx P99 [B/tx] 260.3 260.3 +0.00%
Fill Idle P50 [ms] 0.0 0.0 0.00%
Fill Idle P90 [ms] 0.0 0.0 0.00%
Fill Idle P99 [ms] 0.0 0.0 0.00%

Validator

Metric Baseline Feature Delta
Gas Throughput [Mgas/s] 3121.8 3143.2 +0.68% ⚪ (+/-0.38/floor 0.65)
P50 [ms] 200.5 202.0 +0.75% ⚪ (+/-2.73/floor 1.55)
P90 [ms] 278.9 268.6 -3.69% ✅ (+/-1.76/floor 1.55)
P99 [ms] 373.0 363.3 -2.60% ⚪ (+/-3.35/floor 2.05)

Persistence

Metric Baseline Feature Delta
Durable Writes [MB/s] 198.2 197.6 -0.30%
Blocks Persisted [/s] 2.22 2.22 +0.00%
Persistence Busy [%] 46.9 47.0 +0.21%
Save Batch Mean [ms] 2450 2450 +0.00%
Max Unpersisted [blocks] 16 16 +0.00%
Backpressure Stall [s] 0.00 0.00 0.00%

Observability

Warn/Error Logs

Run type Total lines
Baseline 42
Feature 39
Counts by message
Message Baseline Feature
context request for block `0x0f10d3957c0f145be469a2aaede89632adbfafabb7a5798fd96bdfc742419c91` with no consensus context 18 18
failed to read dealer log from block extraData header field 12 12
requested buffer capacity is too low, increasing it to floor 6 6
executor could not verify the block; abstaining 2 1
executor encountered fatal execution-layer update error; shutting down to prevent consensus-execution divergence 2 1
[failed delivering block `0x56717cfc31b13a90f57a37dd9fa213d70507ed09a3f57c1f1c2c62fffdff62f9` for verification (0, 369) 0x56717cfc31b13a90f57a37dd9fa213d70507ed09a3f57c1f1c2c62fffdff62f9, failed sending new-payload request to execution layer, beacon consensus engine task stopped] 0 1
[failed delivering block `0xaadd22bc313ff238a77ad6ab229687ad6642f500b8cfdf7b01c10c95d02137f6` for verification (0, 372) 0xaadd22bc313ff238a77ad6ab229687ad6642f500b8cfdf7b01c10c95d02137f6, failed sending new-payload request to execution layer, beacon consensus engine task stopped] 1 0
[failed delivering block `0xfafa44a94df79103746abf322a432f4758468163b9c5431b07061e872a87c521` for verification (0, 369) 0xfafa44a94df79103746abf322a432f4758468163b9c5431b07061e872a87c521, failed sending new-payload request to execution layer, beacon consensus engine task stopped] 1 0

@tempoxyz-bot

tempoxyz-bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

👁️ Cyclops Security Review

✅ Reviewed e769a23 (latest) · Coverage: partial · no open findings · report
⚠️ Not checked: Dependency context is partial: vendoring available, Librarian unavailable (covered 0 of 40 requested; 87 of 127 changed dependencies not sent), Sem unavailable
⚠️ Not checked: Current-head vendored dependency bytes were available, but the supplied cyclops CLI did not expose a working source-read command: the attempted source list returned no source bytes. Consequently, upstream behavior could not be compared comp
⚠️ Not checked: Default overlay manager in offline regenesis and test database unwind: ruled out without reading the cited code at this commit
⚠️ 1 more unchecked question is listed in the report

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed this reth bump and found no bugs. Cargo.toml and Cargo.lock have CODEOWNERS, and the new upstream range changes engine/consensus and trie behaviour, so a human look is still worthwhile.

What was reviewed:

  • Every reth git dependency in Cargo.toml, jsonrpsee included, moves from 31d05e1 to 36600d5. Features and default-features flags are unchanged.
  • All 110 reth source lines in Cargo.lock point at the same new rev, and none still use the old one. Nothing else in the lockfile changed: no versions, checksums or new packages.
  • Not done: no build, zepter, or test run was part of this review, so whether Tempo compiles against the new rev is left to CI. The second commit ("fix: resolve breaking changes") changes no Rust source.
Extended reasoning...

The change only updates the pinned paradigmxyz/reth git rev in Cargo.toml and Cargo.lock. No Rust source changes, and the diff touches no auth, injection or data-exposure code. The diff itself is mechanical and consistent: one rev everywhere, and no version or checksum churn. I deferred because .github/CODEOWNERS assigns both changed files to named owners. Also, the upstream range includes consensus-adjacent changes (BAL hash validation, witness key inclusion), and an owner should check those against Tempo's rule that an active fork's behavior must not change.

@decofe decofe changed the title deps: update reth from main (2026-11-14) deps: update reth from main (2026-11-15) Nov 15, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

@decofe decofe changed the title deps: update reth from main (2026-11-15) deps: update reth from main (2026-11-16) Nov 16, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

@decofe decofe changed the title deps: update reth from main (2026-11-16) deps: update reth from main (2026-11-17) Nov 17, 2026
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Changelog not found.

A changelog entry is required before merging. We've generated a suggested changelog based on your changes:

Preview
---
tempo-alloy: patch
tempo-chainspec: patch
tempo-contracts: patch
tempo-hardfork: patch
tempo-primitives: patch
---

Updated the reth, reth-core, and evm2 git dependencies to newer revisions.

Add changelog to commit this to your branch.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No new blocking issues. 1 optional suggestion (a nit or a note on pre-existing code) was found and not posted. Nothing in this review needs a push before merging.

@decofe

decofe commented Nov 17, 2026

Copy link
Copy Markdown
Member Author

cyclops audit note="Review every upstream reth commit included in the revision diff."

@tempo-cyclops

tempo-cyclops Bot commented Nov 17, 2026

Copy link
Copy Markdown

cc @decofe

Cyclops audit started.

Config: env: prod, config: default, iterations: default, hours: default, note: Review every upstream reth commit included in the revision diff.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the latest push and found no bugs. It does change consensus gas settlement code owned by CODEOWNERS, so a human look would still be worthwhile, mainly to confirm it matches the upstream evm2 code.

What was reviewed:

  • intrinsic_gas in crates/evm/src/handler.rs: the per-auth state gas is now new_account_state_gas() + TxEip7702PerAuthState. Tests still pin 225k, plus 225k for nonce==0 on T4.
  • execute_aa now subtracts state_refund from state_gas_spent after settle_transaction returns, instead of inside evm2. I couldn't read the evm2 source at either rev from this checkout, so I couldn't confirm the old code did the same subtraction at the same point.
  • The handler tests call settle_transaction directly, so none of them runs the new subtraction with a non-zero state_refund.
Extended reasoning...

This is an automated update of the reth and evm2 git revs, plus two edits to crates/evm/src/handler.rs to follow evm2 API changes in EIP-7702 intrinsic state gas and AA transaction gas settlement. These paths are consensus-critical gas accounting, but they are not auth, crypto or data-exposure code. Whether total state gas is unchanged on active forks depends on the old and new evm2 internals, which were not available to read here. No test covers the moved refund subtraction with a non-zero refund. CODEOWNERS covers crates/evm/ and crates/hardfork/, so this was not approved automatically.

DaniPopes
DaniPopes previously approved these changes Nov 17, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

@mediocregopher
mediocregopher added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 8d0bf61 Nov 17, 2026
230 of 289 checks passed
@mediocregopher
mediocregopher deleted the reth-auto-bump branch November 17, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-dependencies Related to dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants