Closed mateipopp closed 5 months ago
The current path-base mode does not support the world state access of the archive history block, and can only access the latest 129 states (128difflayer+1disklayer). Therefore, the access to the historical block in the above log fails.
Hey @will-2012, thanks for the info. What would be the option for us to have historical data? Thank you.
./op-geth \
...
--state.scheme hash \
--gcmode=archive \
...
op-geth uses hash scheme, archive gcmode and synchronizes block data starting from 0, which will include all historical data.
System information
Network:
mainnet
if you are running a local node, please provide the following information: op-node version:
op-node version v0.0.0-426eea2d-1712565665
op-geth version:op-geth version 0.1.0-unstable-c18478a1
v0.3.1-alpha OS & Version: LinuxActual behaviour
curl -X POST localhost:8545 -H 'Content-Type: application/json' --data '{"method":"debug_traceBlockByNumber","params":["0xf", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"historical state not available in path scheme yet"}}
Steps to reproduce the behaviour