Arbitrum - Error: missing trie node
The Arbitrum chain went through a hard-fork from Classic to Nitro on August 31, 2022.
As a result of this, it is only possible to use debug
methods from block 22.207.818 to the current one.
List of impacted Arb Debug methods:
- debug_getbadblocks
- debug_storagerangeat
- debug_traceblockbyhash
- debug_traceblockbynumber
- debug_tracecall
- debug_tracetransaction
Users in need to retrieve older blocks (pre-nitro) need to use alternative methods:
- arbtrace_block
- arbtrace_callMany
Example request and error with a "pre-nitro" block:
curl --location 'https://api.tatum.io/v3/blockchain/node/arb-one-mainnet' \
--header 'Content-Type: application/json' \
--header 'x-api-key: {API_KEY}' \
--data '{
"jsonrpc": "2.0",
"method": "debug_traceBlockByHash",
"params": ["0xc99530cd6cd2dcb4e88bec85d8b97c67dcdd276918740604b6b097fe58f57fc7",
{
"tracer": "callTracer",
"timeout": "1m"
}
],
"id": 1
}'
//response:
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32000,
"message": "missing trie node 0000000000000000000000000000000000000000000000000000000000000000 (path ) <nil>"
}
}
Updated 7 months ago