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!
Context / issue
Recently, the Safe smart account introduced a new signature type that uses the new
p256verifypre-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
_checkSignaturesLengthfunction.Credit to @0xriptide for identifying this issue early!