Skip to content

Add support for new parameters of vm.ExpectRevert cheatcodeย #834

@Jrigada

Description

@Jrigada

Component

Forge

Describe the feature you would like

Foundry introduced this new variations of expectRevert which are failing in zksync when doing nested calls.

  • vm.expectRevert(address reverter)
  • vm.expectRevert(bytes4 revertData, address reverter)
  • vm.expectRevert(bytes calldata revertData, address reverter)
    Test

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions