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

fix: [ALC-LA2-2] revert on malformed signature #48

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

jaypaik
Copy link
Collaborator

@jaypaik jaypaik commented Apr 4, 2024

Revert instead of returning SIG_VALIDATION_FAILED for malformed signatures. Note that this also impacts the ERC-1271 isValidSignature flow to revert when the trimmed signature is malformed. This is not prohibited by ERC-1271, so this is fine.

@jaypaik jaypaik marked this pull request as draft April 4, 2024 18:58
@jaypaik jaypaik force-pushed the 04-04-fix_ALC-LA2-2_revert_on_malformed_signature branch from ebc685a to d9eb605 Compare April 4, 2024 19:34
@jaypaik jaypaik marked this pull request as ready for review April 4, 2024 19:34
@jaypaik jaypaik force-pushed the 04-04-fix_ALC-LA2-2_revert_on_malformed_signature branch from d9eb605 to 8c5c85d Compare April 4, 2024 20:53
@jaypaik jaypaik requested a review from a team April 4, 2024 21:23
Copy link
Collaborator

@howydev howydev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jaypaik jaypaik merged commit 3648cb0 into develop Apr 5, 2024
2 checks passed
@jaypaik jaypaik deleted the 04-04-fix_ALC-LA2-2_revert_on_malformed_signature branch April 5, 2024 20:09
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.

2 participants