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

chore: change how validation is returned #244

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Conversation

cpb8010
Copy link
Contributor

@cpb8010 cpb8010 commented Jan 7, 2025

Description

This assumes success if the signature check reaches the end, but can
also return early if the signature isn't a modular one.

Also remove an unused param for a warning

Additional context

Audit feedback

@cpb8010 cpb8010 self-assigned this Jan 7, 2025
This assumes success if the signature check reaches the end, but can
also return early if the signature isn't a modular one.

Also remove an unused param for a warning
@cpb8010 cpb8010 force-pushed the inconsistent-validation branch from 2d80e4f to 3c17d81 Compare January 7, 2025 02:29
@ly0va
Copy link
Member

ly0va commented Jan 7, 2025

Which issue does this address? The code looks identical, just uses an if statement instead of the ternary operator

@cpb8010
Copy link
Contributor Author

cpb8010 commented Jan 7, 2025

https://defender.openzeppelin.com/#/audit/9202b68f-3633-48de-bf0b-5b9a4855c944/issues/N-14
Inconsistency When Validating Call Status

I didn't totally agree with this, but it's possible I'm misunderstanding the feedback there.

@cpb8010 cpb8010 requested a review from ly0va January 7, 2025 15:23
@ly0va ly0va merged commit 489e8bb into main Jan 8, 2025
3 checks passed
@ly0va ly0va deleted the inconsistent-validation branch January 8, 2025 14:40
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