Experimental engine errors with no transaction found for Number(XXX)
while new blocks are being processed
#11053
Labels
A-consensus
Related to the consensus engine
A-rpc
Related to the RPC implementation
C-bug
An unexpected or incorrect behavior
Describe the bug
When op-reth is actively synced and following the chain tip using the experimental engine, calls to
eth_getLogs
(and probably others) throw errors like:(code: -32603, message: no transaction found for Number(689728934), data: None) (1x)
Curiously, the errors only occur when the node is actively syncing. If I disable the consensus client (op-node), op-reth will paused at the last block height and the same RPC calls complete without any error. Resuming the sync by restarting op-node will result in the calls failing again.
Steps to reproduce
Run reth or op-reth with
--engine.experimental
and execute a large RPC call toeth_getLogs
using cryo or similar.Here is a simple bash script that executes a series of large calls against my op-reth node synced to Base mainnet:
fetch_base.sh
Node logs
No response
Platform(s)
Linux (x86)
What version/commit are you on?
reth-optimism-cli Version: 1.0.7
Commit SHA: 9f23443
Build Timestamp: 2024-09-19T18:04:36.208737399Z
Build Features: asm_keccak,optimism
Build Profile: maxperf
What database version are you on?
Current database version: 2
Local database version: 2
Which chain / network are you on?
base
What type of node are you running?
Pruned with custom reth.toml config
What prune config do you use, if any?
[prune]
block_interval = 5
[prune.segments]
sender_recovery = "full"
account_history = { distance = 10064 }
storage_history = { distance = 10064 }
If you've built Reth from source, provide the full command you used
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: