Skip to content

Add support for prank cheatcodes with delegate call and tx origin #831

Open
@Jrigada

Description

@Jrigada

Component

Forge

Describe the feature you would like

Recently introduced prank and startPrank cheatcodes with delegate call and tx.origin assertion are failing on zksync.
Normal use of delegateCall work but when pair with tx.origin fails.
Cheatcodes

  • vm.prank(address msgSender, address txOrigin, bool delegateCall)
  • vm.startPrank(address msgSender, address txOrigin, bool delegateCall)

Tests

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions