Skip to content

Allow impersonating contracts #1943

@antazoey

Description

@antazoey

Component

Anvil

Describe the feature you would like

For feature-parity sake with Hardhat, I would like to be able to impersonate contracts. This helps migrate tests from hardhat to foundry.

Currently when I try to do this, there is an issue with code.
However - even when I set the code to be empty, I have issues with estimating fees.

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