-
Notifications
You must be signed in to change notification settings - Fork 13
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(receive): don't prevent receiving raw ETH #285
Conversation
Rubilmax
commented
Oct 5, 2023
- Fixes Restricted transfer of funds to the bundler #283
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.
Let's wait cantina's audit and draw our conclusion at this moment?
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.
Actually this PR prevents receiving ETH via raw transfers. Adding a simple receive
function would be nice, although maybe not necessary since there is no shortage of payable functions in this contract :D
Yes I don't understand the upsides of exposing a receive function |
99e5360
to
699a632
Compare
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.
I still think that this change should not be applied
Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com> Signed-off-by: Romain Milon <rmilon@gmail.com>
I'm ambivalent and I understand why we'd question this change so it's up to discussion |
This change forces any bundler that needs to receive If you are going down this route, both behavior should be documented:
What if I want to receive |
The bundler can simply receive ETH via the plenty of |
…into fix/remove-receive-require
fix(receive): don't prevent receiving raw ETH
🚨 Vulnerabilities Summary
For more details view the full report in OpenZeppelin Code |
@StErMi we added a comment |