-
Notifications
You must be signed in to change notification settings - Fork 16
feat: Adds forceApprove logic (SC-978) #110
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
Conversation
failing due to build size > limit once pr #104 merges it will work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add for curve, add notes to mention why its not included in CCTP and PSM libs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes _approve
function in Foreign|Mainnet Controller and CurvesLib to first approve to 0 if the regular approval fails[0]. Adds tests that presumably wouldn't pass before.
[0] Failure is defined as returning non-zero returndata AND the first word (0-extended if necessary) is 0.
Coverage after merging sc-978-forceApprove into dev will be
Coverage Report
|
Closes: #106