erigon
erigon copied to clipboard
Cannot retrieve entire trace_block call
System information
Erigon version: ./erigon --version
erigon version 2.58.1-f12e451c
OS & Version: Windows/Linux/OSX
Linux
Commit hash:
f12e451ca72ef85d0611737a0e4fc3f348b7f28c
Erigon Command (with flags/config):
#!/usr/bin/env bash
./build/bin/erigon \
--datadir "/mnt/md0/erigon-devel/" \
--private.api.addr=localhost:9091 \
--db.size.limit=8TB \
--port 30304 \
--chain mainnet \
--http \
--http.api=eth,debug,net,trace,web3,erigon \
--http.vhosts=host.docker.internal,localhost \
--snapshots=true
Consensus Layer:
Prysm
Consensus Layer Command (with flags/config):
#!/usr/bin/env bash
./prysm.sh beacon-chain \
--datadir="/mnt/md0/erigon-devel/" \
--jwt-secret="/mnt/md0/erigon-devel/jwt.hex" \
--monitoring-port 8990 \
--rpc-port 9234
Chain/Network:
Ethereum Mainnet
Expected behaviour
trace_block should return without error.
Actual behaviour
Returns an internal error:
Run:
jrush@linux:~/D/prysm|HEAD⚡?➤ curl -X POST -H "Content-Type: application/json" --data '{ "jsonrpc": "2.0", "method": "trace_block", "params": [ "0x140e6e3" ], "id": 5 }' http://localhost:8545
Returns:
{"jsonrpc":"2.0","id":5,"error":{"code":-32000,"message":"first run for txIndex 85 error: insufficient funds for gas * price + value: address 0x0b92619DdE55C0cbf828d32993a7fB004E00c84B have 1414044108792614043 want 1414044806692614043"}}
Steps to reproduce the behaviour
See above.
Backtrace
[backtrace]
Issue has been reported here:
https://github.com/erigontech/erigon/issues/12432
Fixed by PR https://github.com/erigontech/erigon/pull/12559 and will be released in v2.60.10.
While I know this issue is closed, just in case anyone hits into it in the future, the same problem happens on block 21284644.