erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.13k stars 1.11k forks source link

Cannot retrieve entire trace_block call #12473

Open tjayrush opened 14 hours ago

tjayrush commented 14 hours ago

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]
keithchew commented 12 hours ago

Issue has been reported here:

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