-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add checks in ERC20WrapperBundler #398
Conversation
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.
Code looks good! Is it a real issue though? We could argue the implementation of ERC20WrapperBundler
is not compatible with non-reverting ERC20Wrapper
implementations and it could be fine. do we know of wrappers that don't revert and instead return false
?
The cost of such a late change gets worse and worse as time goes... We are a couple of weeks away from deployment
Indeed we could say that
*days btw |
In which case i would suggest introducing a comment instead (which is fine), ideally before contract verification to also have it displayed on Etherscan |
Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com> Signed-off-by: Jean-Grimal <83286814+Jean-Grimal@users.noreply.github.com>
Fixes https://cantina.xyz/code/8409a0ce-6c21-4cc9-8ef2-bd77ce7425af/findings/3c786edb-0c0d-4398-a1d3-a1067a935156