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 846 forks source link

Allow block overrides for eth_call and eth_estimateGas #7822

Open macfarla opened 1 month ago

macfarla commented 1 month ago

Support for block overrides as in geth (also see state overrides in #5788)

As a network participant, I would like access to be able to drop in and replace Besu in certain networks/tooling/RPC stacks.

Acceptance Criteria Whilst it's not specified in the ethereum rpc spec the implementation should be based on the Geth rpc docs to allow a drop in replacement.

https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-eth#eth-call

Block overrides https://geth.ethereum.org/docs/interacting-with-geth/rpc/objects#block-overrides

siladu commented 3 days ago

This should be considered alongside #6203 cc @Gabriel-Trintinalia