Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False Error on Trace_block, first run for txIndex XX error: insufficient funds for gas * price + value #12092

Open
jwelch-qn opened this issue Sep 25, 2024 · 0 comments

Comments

@jwelch-qn
Copy link

System information

Erigon version: erigon/2.60.8

OS & Version: Ubuntu 22.04

Commit hash: dec9d20

Erigon Command (with flags/config):

curl <Erigon_Endpoint> -X POST   -H "Content-Type: application/json"  --data '{"method":"trace_block","params":["0x24A931"],"id":1,"jsonrpc":"2.0"}'

Consensus Layer: Lighthouse

Consensus Layer Command (with flags/config): N/A

Chain/Network:
Ethereum-Holesky

Expected behaviour

Get tracees for each transaction in the block

Actual behaviour

Get first run for txIndex XX error: insufficient funds for gas * price + value error

Block in question: https://holesky.etherscan.io/txs?block=2402609
Has two reverted txs in the block, but not seemingly related to the error message.
The error refers to the tx at index 26 which is https://holesky.etherscan.io/tx/0x8a60c0ffb6ddb4cf88c0b462063d0a4cb2d31403c0b5fa6b2af1faae8b66597e
the explorer shows it was successful.

eth_getBlockByNumber for 0x24A931 also shows this tx:

   {
      "txHash": "0x8a60c0ffb6ddb4cf88c0b462063d0a4cb2d31403c0b5fa6b2af1faae8b66597e",
      "result": {
        "from": "0x0fd5c0c300b9075d62406da142ab4bbaac908aed",
        "gas": "0x5208",
        "gasUsed": "0x5208",
        "to": "0x7566b700c0eaac88b521536f4e4e1b5b9afe6fe1",
        "input": "0x",
        "value": "0xc4fac0be04544",
        "type": "CALL"
      }

Steps to reproduce the behaviour

curl <Erigon_Endpoint> -X POST -H "Content-Type: application/json" --data '{"method":"trace_block","params":["0x24A931"],"id":1,"jsonrpc":"2.0"}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant