Skip to content

Add Support for v=2 Signatures to the ERC-4337 Module #522

@nlordell

Description

@nlordell

Context / issue

Recently, the Safe smart account introduced a new signature type that uses the new p256verify pre-compile introduced in ERC-7951. This new signature type needs to be supported by the ERC-4337 module, otherwise P-256 owners will not work with the 4337 module.

Proposed solution

Add support for signature type 2 to the _checkSignaturesLength function.

Credit to @0xriptide for identifying this issue early!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions