Repository navigation
fix(reth-cli): keep reth default memory block buffer target (v1.5.5) - #6486
Merged
0x00101010 merged 1 commit intoNov 6, 2026
Merged
Conversation
|
✅ All benchmarks green — 14 within ±2% (deterministic instruction counts). View run Benchmark details (14)
|
Acceptance Tests: ✅ Passed3/3 checks passed · Checks & reports Acceptance report
|
wlawt
approved these changes
Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Backport of the main fix to
releases/v1.5.5. v1.5.4 (#6464) raised--engine.memory-block-buffer-targetfrom reth's 5 to 70. RPC state reads walk the in-memory blocks one at a time before hitting the database (no index across blocks), so a 70-block buffer makeseth_callslower. Alchemy measured this after upgrading to v1.5.4:eth_call: average went from 0.22 ms to 0.40 ms, p95 from 2 ms to 3 ms.The buffer target isn't what fixed the Denim stalls. The fix came from raising the backpressure threshold from 16 to 160, and that change stays.
What
MEMORY_BLOCK_BUFFER_TARGEToverride, so reth's default of 5 applies.base-v2.5.2.11has no state masking, so validation passes (5 <= 70, 160 > 70).Notes
--engine.memory-block-buffer-targetexplicitly are unaffected.Evidence
cargo test -p base-reth-cli(engine_defaults_scale_for_denim_blocks)validate()okcargo clippy -p base-reth-cli --all-targets -D warnings,cargo +nightly fmt --check