-
Notifications
You must be signed in to change notification settings - Fork 20.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend the "TraceCall" API so that the state override can be support #22197
Comments
Triage discussion: this can be added without making a breaking change, by adding a new field to the input config for that particular call. |
hi @rjl493456442 although the feature is been added, could you explain what's the typical use case, could you make an example? |
Is there a way to make this functionality accessible on the ethclient.Client interface? |
Hi, this is my first attempt to contribute to go-ethereum: #23129. It exposes an interface on ethclient.Client to allow account state overrides when performing |
This publishes the previously internal ethapi.StateOverrides type as well as adds the methods CallContractWithOverrides and PendingCallContractWithOverrides to ethclient.Client. ethereum#22197
Now the
eth_call
API can accept an optional parameteroverrides *map[common.Address]account
so that the user can customize the states by himself. Would be nice to include this feature in the tracer API too.The text was updated successfully, but these errors were encountered: