Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add legacy EIP-1271 support (i.e. 'isValidSignature(bytes,bytes)') #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sidnym-ladrut
Copy link

Early versions of EIP-1271 called for a validation function with signature isValidSignature(bytes,bytes) => (bytes4). Notably, this is the only version of the signature standard supported by by SAFE v1.*.*.

In order to enable support for SAFE v1.*.* contracts (and any other legacy EIP-1271 targets), these changes add the isValidSignature(bytes,bytes) => (bytes4) signature as an overloaded alternative to the modern isValidSignature(bytes32,bytes) => (bytes4) signature.

@sidnym-ladrut sidnym-ladrut changed the title Add legacy EIP-1271 support (i.e. 'isValidSigner(bytes,bytes)') Add legacy EIP-1271 support (i.e. 'isValidSignature(bytes,bytes)') Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant