[Node Operator Question] Pruning issue with archive node using OP-Reth #933
Unanswered
free-cornet
asked this question in
Node Operators
Replies: 1 comment
-
|
hi,i have enccounted the same problem,have you solved it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Are you running the most up to date node software?
Did you check the documentation?
Did you check for duplicate questions?
Issue Description
I've tried to deploy a local archive Optimism node, using op-reth and op-node. As explained in the documentation, I've retrieved some snapshots needed to start the archive node post-bedrock update. I've tried with several archives, the last one being mainnet-reth-archive-2026-04-21.tar.zst, coming from this link:
https://datadirs.optimism.io/
mentioned in the Optimism documentation.
My issue is that, while my archive node is synced (confirmed with
eth_syncing) and I can retrieve transaction details witheth_getTransactionByHash, I'm unable to retrieve data such as the receipt usingeth_getTransactionReceipt, returning{"jsonrpc":"2.0","id":1,"result":null})nor the execution trace with the built-in
callTracer, resulting in{"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"Revm error: failed to apply 4788 system call failed to apply beacon root contract call at 0x6bfe01c0f2b243dc6d6598d9b5e4c14b954f280f1d20db522f6c447d5338729f: database error: Database error: state at block #124037012 is pruned"}}letting me think that part of the state has been pruned.
Note that I'm only trying to retrieve such data for the post-bedrock update transaction.
Steps to Reproduce
After building op-reth and op-node for your environment (I'm doing it in a VM), download the snapshot mainnet-reth-archive-2026-04-21.tar.zst available on https://datadirs.optimism.io/ and uncompressed in your
datadir.Then start your op-reth and op-node with the following config:
For op-reth:
For op-node (connected through ipv6 to my local Ethereum node):
Note that for the L1 Ethereum node, I'm using my local node deployed in another VM using Erigon and Prysm.
Which component is affected?
Expected vs. Actual Behavior
Expected
For this command:
I'm expecting to obtain the transaction receipt.
And for this one:
I'm expecting to receive the trace.
Actual
For the receipt, I received:
{"jsonrpc":"2.0","id":1,"result":null}And for the trace:
{"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"Revm error: failed to apply 4788 system call failed to apply beacon root contract call at 0x6bfe01c0f2b243dc6d6598d9b5e4c14b954f280f1d20db522f6c447d5338729f: database error: Database error: state at block #124037012 is pruned"}}Environment Details
The execution environment is inside a VM.
Protocol Information
op-reth:
op-node:
Network name:
OP Mainnetchain ID:
10L1 chain:
Ethereum MainnetNode Logs
For op-reth (at start):
For op-node (at start):
Troubleshooting Attempts
No response
Additional Information
No response
Feedback
The documentation for the deployment of the op-reth archive node is lacking, and some links are broken or redirected.
Beta Was this translation helpful? Give feedback.
All reactions