-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Improved SafeERC20 allowance handling #1407
Conversation
This reverts commit a688977.
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.
Awesome @Aniket-Engg, thanks! I'll think a bit about where to put the new allowance function declarations, so all we should do is improve the tests a bit to make usage clearer.
I think, build needs to re-run. |
@Aniket-Engg thank you for your great help, as always! We need to get this fix in soon since we plan on finishing the release tomorrow, so I pushed directly to your branch - sorry about that! |
No problem at all @nventuro |
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.
good deal. Thanks @Aniket-Engg and @nventuro
* signing prefix added * Minor improvement * Tests changed * Successfully tested * Minor improvements * Minor improvements * Revert "Dangling commas are now required. (#1359)" This reverts commit a688977. * updates * fixes #1404 * approve failing test * suggested changes done * ISafeERC20 removed * allowance methods in library * Improved SafeERC20 tests. * Fixed test coverage. (cherry picked from commit 315f426)
Fixes #1404