Open shimmerlabsbe opened 3 months ago
Erigon version: v2.60.0 and v2.59.3
OS & Version: Ubuntu AWS
Erigon Command (with flags/config): ./erigon --datadir="/data/erigon" --http.addr="0.0.0.0" --http.api=eth,web3,net,debug,trace,txpool --ws --torrent.download.rate=512mb
Consensus Layer: Prysm
Chain/Network: Ethereum Mainnet
The debug_traceCall rpc method should use the baseFee from the blockOverrides config.
https://geth.ethereum.org/docs/developers/evm-tracing/built-in-tracers#block-overrides
The rpc method seems to ignore the blockOverrides config.
Try the following rpc call.
{ "jsonrpc": "2.0", "method": "debug_traceCall", "params": [ { "input": "0x12aa3caf000000000000000000000000e37e799d5077682fa0a244d46e5649f71457bd09000000000000000000000000fc116ea24f002f600e363bdce4b91715fe5e0392000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000e37e799d5077682fa0a244d46e5649f71457bd090000000000000000000000008727c4aed1bc733bcd6fabf6627791c10d1a969f0000000000000000000000000000000000000000000000000001c6bf5263400000000000000000000000000000000000000000000000000001df77587da4dbdb0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015300000000000000000000000000000000013500011f0000e300006800004e802026678dcdfc116ea24f002f600e363bdce4b91715fe5e0392382ffce2287252f930e1c8dc9328dac5bf282ba10000000000000000000000000000000000000000000000000000048c273950000020d6bdbf78fc116ea24f002f600e363bdce4b91715fe5e03920c20fc116ea24f002f600e363bdce4b91715fe5e0392b5b3245e2dcfca6474e3b8588e6bafee9b6834966ae4071118002dc6c0b5b3245e2dcfca6474e3b8588e6bafee9b68349600000000000000000000000000000000000000000000000001df77587da4dbdbfc116ea24f002f600e363bdce4b91715fe5e03924101c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200042e1a7d4d0000000000000000000000000000000000000000000000000000000000000000c0611111111254eeb25477b68fb85ed929f73a960582000000000000000000000000009a635db5", "gas": "0x3806e", "maxPriorityFeePerGas": "0xf4240", "from": "0x8727c4aed1bc733bcd6fabf6627791c10d1a969f", "to": "0x1111111254eeb25477b68fb85ed929f73a960582", "maxFeePerGas": "0x1c7847cdb", "value": "0x0" }, "0x130054d", { "tracer": "callTracer", "tracerConfig": { "onlyTopCall": false }, "blockOverrides": { "baseFee": "0xffffff", "blobBaseFee": "0xffffff" } } ], "id": 1 }
I am not sure if this is even supported but I didn't find anything in the documentation that blockOverrides aren't supported by erigon.
Thank you for looking into this.
I am also facing this problem.
System information
Erigon version: v2.60.0 and v2.59.3
OS & Version: Ubuntu AWS
Erigon Command (with flags/config): ./erigon --datadir="/data/erigon" --http.addr="0.0.0.0" --http.api=eth,web3,net,debug,trace,txpool --ws --torrent.download.rate=512mb
Consensus Layer: Prysm
Chain/Network: Ethereum Mainnet
Expected behaviour
The debug_traceCall rpc method should use the baseFee from the blockOverrides config.
https://geth.ethereum.org/docs/developers/evm-tracing/built-in-tracers#block-overrides
Actual behaviour
The rpc method seems to ignore the blockOverrides config.
Steps to reproduce the behaviour
Try the following rpc call.
I am not sure if this is even supported but I didn't find anything in the documentation that blockOverrides aren't supported by erigon.
Thank you for looking into this.