You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, there are cases where I am interested in reading/simulating stuff intra block. (ie: top of block T and then replay first N transactions from block T + 1).
Basically, I need Foundry's createSelectFork("rpc", "txHash") in GETH.
Is there an official and idiomatic way that allows me to do this (without needing to fork go-ethereum and implement the replay stuff myself) ?
The text was updated successfully, but these errors were encountered:
The debug_traceCall method does support txIndex field. It is not available in ethclient tho unfortunately. If you directly called the rpc method you can:
Currently,
gethclient.CallContract
supports blockNumber override.However, there are cases where I am interested in reading/simulating stuff intra block. (ie: top of block T and then replay first N transactions from block T + 1).
Basically, I need Foundry's
createSelectFork("rpc", "txHash")
in GETH.Is there an official and idiomatic way that allows me to do this (without needing to fork go-ethereum and implement the replay stuff myself) ?
The text was updated successfully, but these errors were encountered: