contracts icon indicating copy to clipboard operation
contracts copied to clipboard

required historical state unavailable (reexec=128)

Open savmaingit opened this issue 3 years ago • 1 comments

Hello there!

We are NOWNodes team. We provide dedicated access to MATIC node. Really like to work with this node! Follow your progress!

Ask you for help!

We have an archive node matic (bor + heimdall). The node starts with the parameters below:

entrypoint: - "bor" - "--datadir=/root/.bor/data/" - "--txlookuplimit=0" - "--gcmode=archive" - "--cache.preimages" - "--port=30303" - "--http" - "--http.addr=0.0.0.0" - "--http.vhosts=" - "--http.corsdomain=" - "--http.port=8545" - "--ipcpath=/root/.bor/data/bor.ipc" - "--http.api=debug,eth,net,web3,txpool,bor" - "--syncmode" - "full" - "--networkid=137" - "--miner.gasprice=30000000000" - "--miner.gaslimit=20000000" - "--miner.gatarget=20000000" - "--txpool.nolocals" - "--txpool.accountslots=16" - "--txpool.globalslots=131072" - "--txpool.accountqueue=64" - "--txpool.globalqueue=131072" - "--txpool.lifetime=1h30m0s" - "--maxpeers=200" - "--metrics" - "--pprof" - "--pprof.port=7071" - "--pprof.addr=0.0.0.0" - "--bor.heimdall=http://heimdall:1317/"

curl --location --request POST 'http://localhost:8545/' --header 'Content-Type: application/json' --data-raw '{"jsonrpc": "2.0", "method": "debug_traceBlockByNumber ", "params": ["0xb07a2a", {"tracer": "callTracer"}], "id": 100}'

In response we get

{"jsonrpc":"2.0","id":100,"error":{"code":-32000,"message":"required historical state unavailable (reexec=128)"}}

How can this problem be solved?

savmaingit avatar Feb 14 '22 10:02 savmaingit