-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(anvil
): support better debugging flows when using anvil
programmatically via EthApi
#3558
Comments
thanks for this. supportive of this, since we already have (all|most?) of the data, we need to figure out how to make it available. Perhaps with some additional helper functions/types that are |
Additional functions that also return debug info would work, it would be doubly nice to make this info accessible when using anvil over rpc but I also think it would still be valuable if exposed first as just methods on |
makes sense, perhaps the easiest way to integrate this is to adapt this foundry/anvil/src/eth/backend/mem/mod.rs Lines 1676 to 1687 in 676ff13
so it returns a |
I would love to see this happen, it's a bit of a missing piece right now. |
@Alexintosh are you referring to this being available programmatically or via RPC? |
Is it already possible to debug anvil transactions? |
anvil
): support better debugging flows when using anvil
programmatically via EthApi
@reem is this still relevant to your use case? If so, I think the best next step is to break this ticket up into its own actionable tickets so they can be picked up. I'm supportive of improving programmatic access to Anvil though it may be more of a design goal for |
Component
Anvil
Describe the feature you would like
There are several features which would be useful to support out of the box with anvil when using it via
EthApi
that already have some level of support within forge:Probably there are even more features available in forge that would be useful to expose here that I am not thinking of!
Additional context
Some of this data is available internally already e.g. here
foundry/anvil/src/eth/backend/executor.rs
Lines 156 to 171 in 63c71b4
EthApi
The text was updated successfully, but these errors were encountered: