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 OutputOracle.getL2OutputIndexAfter #49

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

mdehoog
Copy link
Collaborator

@mdehoog mdehoog commented Jan 3, 2025

OutputOracle.getL2OutputIndexAfter is broken, because we weren't adding the offset to the returned lo value. Fix (and simplify in the process).

Audit finding: https://cantina.xyz/code/a944b747-e288-4c00-91ec-8b05021d034f/findings/13

@mdehoog mdehoog force-pushed the michael/fix-getL2OutputIndexAfter branch from 8fa1424 to 9a9e5c4 Compare January 3, 2025 02:15
@mdehoog mdehoog force-pushed the michael/fix-getL2OutputIndexAfter branch from 9a9e5c4 to 6999087 Compare January 3, 2025 21:38
@mdehoog mdehoog merged commit e320a7e into main Jan 7, 2025
3 checks passed
@mdehoog mdehoog deleted the michael/fix-getL2OutputIndexAfter branch January 7, 2025 20:38
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