erigon
erigon copied to clipboard
debug_traceBlockByHash Javascript tracing failing in Sepolia network
System information
Erigon version: 2.57.0
OS & Version: Linux
Erigon Command (with flags/config):
--datadir=/tank
--http.addr=0.0.0.0
--http.vhosts=*
--http.corsdomain=*
--torrent.download.rate=100mb
--http.api=eth,debug,net,web3,trace,erigon
--authrpc.addr=[::]
--authrpc.vhosts=*
--authrpc.jwtsecret=/secrets/jwtsecret
--db.size.limit=8TB
--chain=sepolia
Consensus Layer: Lighthouse
Chain/Network: Sepolia
Expected behaviour
debug_traceBlockByHash should work for finalized blocks.
Actual behaviour
We get this error when tracing this block for this transaction:
{
"error":{
"code":-32000,
"message":"tracing failed: insufficient funds for gas * price + value: address 0x13CB6AE34A13a0977F4d7101eBc24B87Bb23F0d5 have 86246206544929582 want 86379650544929582"
}
}
Steps to reproduce the behaviour
JS code used for tracing:
{
fault: function(log, db) {},
result: function(ctx, db) {},
enter: function(frame) {},
exit: function(frameResult) {}
}
Command run:
curl --silent 'http://localhost:8545' -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"debug_traceBlockByHash","params":["0x323f67f1d51bbc833835a1b9e37182a4029d521ddb883151de11922a5da60ffb",{"tracer":"{fault: function(log, db) {},result: function(ctx, db) {},enter: function(frame) {},exit: function(frameResult) {}}","timeout":"600s"}],"id":"1"}'