erigon icon indicating copy to clipboard operation
erigon copied to clipboard

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

Open mmdi1 opened this issue 3 years ago • 0 comments

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!

mmdi1 avatar Aug 09 '22 02:08 mmdi1