erigon icon indicating copy to clipboard operation
erigon copied to clipboard

Cannot retrieve entire trace_block call

Open tjayrush opened this issue 1 year ago • 1 comments

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]

tjayrush avatar Oct 25 '24 02:10 tjayrush

Issue has been reported here:

https://github.com/erigontech/erigon/issues/12432

keithchew avatar Oct 25 '24 05:10 keithchew

Fixed by PR https://github.com/erigontech/erigon/pull/12559 and will be released in v2.60.10.

yperbasis avatar Oct 31 '24 13:10 yperbasis

While I know this issue is closed, just in case anyone hits into it in the future, the same problem happens on block 21284644.

tjayrush avatar Dec 01 '24 10:12 tjayrush