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

Disable Pre-approved IsValidSignature #866

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

nlordell
Copy link
Collaborator

This commit disables support for pre-approved signatures from msg.sender for isValidSignature calls.

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 09:59
@nlordell nlordell force-pushed the feat/disable-pre-approved-1271-signature branch from 9f29682 to 7d96457 Compare December 11, 2024 10:08
This commit disabes support for pre-approved signatures from
`msg.sender` for `isValidSignature` calls.

Note that we remove the new 1.5.0-only `checkSignatures` interface in
favour of one with `msg.sender` explicitely provided to avoid issues for
contracts that make use of this function.
@nlordell nlordell force-pushed the feat/disable-pre-approved-1271-signature branch from 7d96457 to 57bffd6 Compare December 11, 2024 10:31
@nlordell nlordell marked this pull request as ready for review December 11, 2024 10:47
@nlordell nlordell force-pushed the feat/disable-pre-approved-1271-signature branch from aae8171 to 4732e72 Compare December 11, 2024 10:55
@nlordell nlordell merged commit e9a58ce into main Dec 13, 2024
25 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 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.

3 participants