Skip to content

[Cheatcode] RecordCalls #6267

@marktoda

Description

@marktoda

Component

Forge

Describe the feature you would like

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions