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

Ethereum: trace_block: insufficient funds for gas * price + value #12899

Open
AdamRylski opened this issue Nov 28, 2024 · 3 comments
Open

Ethereum: trace_block: insufficient funds for gas * price + value #12899

AdamRylski opened this issue Nov 28, 2024 · 3 comments
Assignees
Labels
imp1 High importance

Comments

@AdamRylski
Copy link

System information

Erigon version:

{
    "id": 67,
    "jsonrpc": "2.0",
    "result": "erigon/2.60.10/linux-amd64/go1.22.8"
}

Chain/Network: Ethereum mainnet

Expected behaviour

Erigon should respond with proper block traces for query

{
  "jsonrpc": "2.0",
  "method": "trace_block",
  "params": [
    "0x144c724"
  ],
  "id": 1
}

Actual behaviour

{
    "id": 1,
    "jsonrpc": "2.0",
    "error": {
        "code": -32000,
        "message": "first run for txIndex 59 error: insufficient funds for gas * price + value: address 0x0b92619DdE55C0cbf828d32993a7fB004E00c84B have 1217128811150211237 want 1217129447495431237"
    }
}

Steps to reproduce the behaviour

curl --location --request POST 'your-awesome-node' --header 'Content-Type: application/json' --data-raw '{
  "jsonrpc": "2.0",
  "method": "trace_block",
  "params": [
    "0x144c724"
  ],
  "id": 1
}'

Similar issue was raised for Polygon in 2022 #4784

@whidrasl
Copy link

whidrasl commented Nov 28, 2024

Same issue was a month earlier:
#12432

Upd: I've got same error in older versions with this block today, but in 2.60.10 there is no such error for 0x144c724 block

@AdamRylski
Copy link
Author

You can use method web3_clientVersion to check node version by RPC call

That's what I posted in the Erigon version: section :)

@cshintov
Copy link
Contributor

cshintov commented Nov 28, 2024

All our nodes are 2.60.10. Hit with the same issue.

I have no name!@ethereum-mainnet-archive-a-0:/home/erigon$ curl -s --location --request POST $URL --header 'Content-Type: application/json' --data-raw '{"id":67,"jsonrpc":"2.0","method":"web3_clientVersion"}' | jq .

{
  "jsonrpc": "2.0",
  "id": 67,
  "result": "erigon/2.60.10/linux-amd64/go1.22.8"
}
I have no name!@ethereum-mainnet-archive-a-0:/home/erigon$ curl -s --location --request POST $URL --header 'Content-Type: application/json' --data-raw '{
  "jsonrpc": "2.0",
  "method": "trace_block",
  "params": [
    "0x144c724"
  ],
  "id": 1
}' | jq .

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32000,
    "message": "first run for txIndex 59 error: insufficient funds for gas * price + value: address 0x0b92619DdE55C0cbf828d32993a7fB004E00c84B have 1217128811150211237 want 1217129447495431237"
  }
}

@yperbasis yperbasis self-assigned this Nov 29, 2024
@yperbasis yperbasis added the imp1 High importance label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imp1 High importance
Projects
None yet
Development

No branches or pull requests

4 participants