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

Update metadata before hook in cancel function #727

Merged
merged 5 commits into from
Nov 28, 2023

Conversation

andreivladbrg
Copy link
Member

The idea behind this is to prevent DOS attacks when the recipient is a malicious contract and they could force excessive gas costs on the sender.

@PaulRBerg
Copy link
Member

@andreivladbrg andreivladbrg force-pushed the fix/emit-event-before-hook branch from d3d1e4e to 332124a Compare November 28, 2023 12:37
@andreivladbrg
Copy link
Member Author

@PaulRBerg does it look good to you?

@PaulRBerg PaulRBerg merged commit fbab619 into staging Nov 28, 2023
11 checks passed
@PaulRBerg PaulRBerg deleted the fix/emit-event-before-hook branch November 29, 2023 10:37
andreivladbrg added a commit that referenced this pull request Dec 15, 2023
* fix: update metadata before hook in cancel

* test: update Precompiles bytecode

* chore: improve explanatory comment in dynamic contract

* chore: simplify comments

* test: update Precompiles bytecode

---------

Co-authored-by: Paul Razvan Berg <[email protected]>
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