Skip to content

bug(cheatcodes): slight change to EIP-7702 specΒ #9751

@dv3-000

Description

@dv3-000

There was a recent change made to the EIP-7702 spec surrounding EXTCODE* opcode behavior for delegated EOAs. Here's a link to the PR for that change.

Spec change TLDR: EXTCODE* opcodes will now operate on the full "delegation designator" i.e. 0xef0100 || delegate_address instead of just the designator prefix.

We have been using the new cheatcode vm.signAndAttachDelegation (implemented in this PR) for writing unit tests and it has been super helpful! We'd just like to request that this cheatcode get updated such that EXTCODE* opcodes behave according to the new spec when called on delegated EOAs.

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