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
Would like a cheatcode similar to record and recordLogs called recordCalls which records all external calls during the recorded period. My particular use case is to more accurately assess L2 gas costs in my forge-gas-snapshot library, but can see this being useful for testing to ensure certain interactions occurred as expected.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Once #6310 is merged it should solve this use case (you'll just have to filter the accesses to only keep calls), feel free to take a look at that and leave comments with your thoughts
Component
Forge
Describe the feature you would like
Would like a cheatcode similar to
record
andrecordLogs
calledrecordCalls
which records all external calls during the recorded period. My particular use case is to more accurately assess L2 gas costs in my forge-gas-snapshot library, but can see this being useful for testing to ensure certain interactions occurred as expected.Additional context
No response
The text was updated successfully, but these errors were encountered: