-
Notifications
You must be signed in to change notification settings - Fork 117
fix: events emitted in hooks are duplicated #814
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #814 +/- ##
==========================================
+ Coverage 64.96% 65.19% +0.22%
==========================================
Files 317 317
Lines 21604 21597 -7
==========================================
+ Hits 14036 14080 +44
- Misses 6349 6356 +7
+ Partials 1219 1161 -58
🚀 New features to boost your workflow:
|
| postProcessing: func(ctx sdk.Context, sender common.Address, msg core.Message, receipt *gethtypes.Receipt) error { | ||
| ctx.EventManager().EmitEvent( | ||
| sdk.NewEvent( | ||
| "test_post_processing_event", |
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.
can we make this a const?
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.
done
Description
Closes: #628
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
mainbranch