-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
System information
Erigon version: ./erigon --version
erigon version 3.1.0-4e297704
OS & Version: Windows/Linux/OSX
Ubuntu 24.04
Commit hash:
4e29770
Erigon Command (with flags/config):
erigon --chain=gnosis --datadir=/_data/gnosis/erigon --prune.mode=archive --prune.distance.blocks=900000 --http.addr=127.0.0.1 --http.port=8545 --http.api=eth,web3,net,debug,trace,txpool --ws --ws.port=8546 --authrpc.addr=127.0.0.1 --authrpc.port=8551 --port=30303 --torrent.port=42069 --caplin.discovery.port=4000 --caplin.discovery.tcpport=4001 --maxpeers=128 --gpo.blocks=32 --gpo.percentile=80 --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --log.dir.disable
Consensus Layer:
Caplin
Consensus Layer Command (with flags/config):
N/A
Chain/Network:
Gnosis mainnet
Expected behaviour
debug_traceCall should succeed (no error).
This same call worked on Erigon v3.0.17.
Actual behaviour
debug_traceCall method returns:
{"jsonrpc":"2.0","id":1,"result":null,"error":{"code":-32000,"message":"incorrect number of top-level calls"}}
Steps to reproduce the behaviour
Run the following request against Erigon v3.1.0 on Gnosis:
curl --request POST \
--url http://127.0.0.1:8545 \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_traceCall",
"params": [
{
"from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"to": "0x0000000000a39bb272e79075ade125fd351887ac",
"data": "0xd0e30db0"
},
"latest",
{
"tracer": "callTracer"
}
]
}'
Backtrace
[backtrace]