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 Support for Pre-approved IsValidSignature #867

Closed
wants to merge 1 commit into from

Conversation

nlordell
Copy link
Collaborator

This PR modifies how isValidSignature support pre-approved signatures where the caller has an implicit signature (similar to how execTransaction works).

Note that we remove the new 1.5.0-only checkSignatures interface in favour of one with executor explicitly provided to avoid issues for contracts that make use of this function.

@nlordell nlordell marked this pull request as draft December 11, 2024 10:00
@nlordell nlordell force-pushed the feat/support-pre-approved-1271-signature branch 3 times, most recently from 6984754 to 8a9b056 Compare December 11, 2024 10:20
This commit demonstrates how `isValidSignature` can be modified to
support pre-approved signatures where the `caller` has an implicit
signature (similar to how `execTransaction` works).
@nlordell nlordell force-pushed the feat/support-pre-approved-1271-signature branch from 8a9b056 to 12f1095 Compare December 11, 2024 10:30
@nlordell
Copy link
Collaborator Author

Closing in favour of #866 - the rationale is that this would change existing isValidSignature behaviour and may potentially introduce some new security issues. In particular, isValidSignature would accept pre-approved from caller signatures where it didn't before.

@nlordell nlordell closed this Dec 11, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant