Zilliqa / zq2

Zilliqa 2.0 code base
Apache License 2.0
8 stars 0 forks source link

`trace_replayTransaction` panics #1371

Open DrZoltanFazekas opened 2 weeks ago

DrZoltanFazekas commented 2 weeks ago

On

curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "id": 1, "method":"trace_replayTransaction","params": ["0xa9db76d7aac64246ecb7141d73c48f4d335e021718ece50e97b3cd398d04728d", ["vmTrace"]]}' https://api.zq2-prototestnet.zilliqa.com

I get

{"jsonrpc":"2.0","error":{"code":-32603,"message":"Unhandled panic in RPC handler trace_replayTransaction"},"id":1}

but it works fine if I request a basic "trace" instead of "vmTrace"

JamesHinshelwood commented 2 weeks ago

The problem is in revm-inspectors - Will be fixed by https://github.com/paradigmxyz/revm-inspectors/pull/185

I will close this issue once that PR is merged and released and we've updated the dependency version.