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

polygon: trace_block: insufficient funds for gas * price + value #4963

Closed
mmdi1 opened this issue Aug 9, 2022 · 3 comments
Closed

polygon: trace_block: insufficient funds for gas * price + value #4963

mmdi1 opened this issue Aug 9, 2022 · 3 comments
Assignees
Labels
gateway Issue assigned to gateway team

Comments

@mmdi1
Copy link

mmdi1 commented Aug 9, 2022

System information

Erigon version: ./erigon --version
latest version
OS & Version: Windows/Linux/OSX

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:        18.04
Codename:       bionic

erigon cli:

./bin/erigon
--chain=bor-mainnet
--bor.heimdall=http://10.10.17.2:2327/
--torrent.download.rate=512mb
--torrent.upload.rate=6mb
--datadir=/opt/erigon-bor/data
--torrent.port=42069
--port=40306
--private.api.addr=localhost:9092
--http
--http.port=9547
--http.addr=10.10.17.4
--http.api=eth,erigon,web3,net,debug,trace,txpool

Commit hash :

git_branch=devel git_tag=v2021.10.03-1617-g6d86b3a40-dirty git_commit=6d86b3a4031d9be007501eabb80ea38b844af72c

Expected behaviour

Make an HTTP request to the node, I want 13 transaction information
This is the request parameter

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

But an error is returned:

{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32000,
"message": "first run for txIndex 2 error: insufficient funds for gas * price + value: address 0x1CA971963bdb4BA2BF337c90660674AcFf5Beb3f have 1340837000000000 want 2808193000000000"
}
}

I hope the gods can work it out. Thank you!

@revitteth revitteth self-assigned this Sep 8, 2022
@revitteth revitteth added the gateway Issue assigned to gateway team label Sep 8, 2022
@enriavil1 enriavil1 mentioned this issue Sep 8, 2022
@revitteth revitteth added the status:in-progress Actively being worked on (picked up by developer) label Sep 9, 2022
@alangshur
Copy link

alangshur commented Sep 15, 2022

Noticing a similar error on post-merge Ethereum as well. If you do trace_block on block 15539509 or trace_transaction on 0x2fdf04a1d70c3cfa1f9d89baf080377ca110c5dbc28def63b01e18b270e85f6f, you get the following error:

first run for txIndex 323 error: insufficient funds for gas * price + value: address 0xb64a30399f7F6b0C154c2E7Af0a3ec7B0A5b131a have 79011297267895730 want 79314366712002216

Running dedicated archive Erigon through Chainstack so wish I had more technical input to contribute but found this thread from the exact same Polygon trace issue referenced above and then just ran into it again on PoS Ethereum. Looks like a transaction was included that doesn't have enough eth?

@fabwa
Copy link

fabwa commented Sep 19, 2022

Fixed in v2022.09.02 it seems

@revitteth revitteth removed the status:in-progress Actively being worked on (picked up by developer) label Oct 17, 2022
@zimbabao
Copy link
Contributor

zimbabao commented Feb 4, 2023

I can still see this error for gnosis chain.
I am running https://hub.docker.com/layers/thorax/erigon/stable/images/sha256-f03a8a4626f2afe95c38b6d2c900fa3d5e99bbc321a34840a7549c583c7a4b06?context=explore .

Err: first run for txIndex 9 error: insufficient funds for gas * price + value: address 0xF4317f378c7879DfB75907Ee3e99260E40A20b14 have 509993134191999906922 want 1000006193840000000000

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

No branches or pull requests

6 participants