hyperledger / besu

An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
https://www.hyperledger.org/projects/besu
Apache License 2.0
1.52k stars 841 forks source link

support for trace_replayTransaction API #6597

Open iampkuhz opened 9 months ago

iampkuhz commented 9 months ago

Description

As an User, I want to user trace_replayTransaction API so that blockscout could index and display our private chain based on besu client.

Acceptance Criteria

siladu commented 9 months ago

Hi @iampkuhz this is not part of the Ethereum spec so the core Besu team doesn't plan to implement it, however if you'd like to implement it or find someone else to, you can ask for help on the Hyperledger Discord: #besu-enterprise or #besu-contributors channels.

Note this is similar to debug_traceTransaction which Besu already has - is it possible for blockscout to use this RPC instead?

phearnot commented 3 weeks ago

We're facing the same issue. @siladu while using debug_traceTransaction might help, enabling DEBUG API just to be able to access this method could be problematic, since there doesn't seem to be a way to enable only some part of the API, while keeping destructive methods like debug_setHead disabled. Our blockscout instance uses the public RPC instance, so we prefer to keep DEBUG API disabled.