-
Notifications
You must be signed in to change notification settings - Fork 606
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
Return error if fee module is locked before distributing fees on acknowledgement and timeout #1340
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1340 +/- ##
==========================================
+ Coverage 80.27% 80.33% +0.05%
==========================================
Files 166 166
Lines 12023 12072 +49
==========================================
+ Hits 9652 9698 +46
- Misses 1916 1918 +2
- Partials 455 456 +1
|
Hey @vuong177, thanks for opening these PRs! I see that you're with Notional as well, just as @catShaark, right? Do you mind to reach me on Discord (I am |
Yes. @catShaark and me are working at Notional. I'll contact you in discord. |
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.
Looking good just a few nits :)
Also, can you add a changelog entry?
Co-authored-by: Sean King <seantking@users.noreply.github.com>
Co-authored-by: Sean King <seantking@users.noreply.github.com>
Co-authored-by: Sean King <seantking@users.noreply.github.com>
Co-authored-by: Sean King <seantking@users.noreply.github.com>
@seantking thank you, i make code cleaner && updated changelog. |
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.
Thanks! Great job!
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.
See comment below. The error should be removed from both distribution functions
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 will open a pr with my suggested improvements since I think many of them come from insufficiency in the testing code we should have previously had
see pr |
apply review comments for issue 1320
thank you @colin-axner, i learn a lot from your reviews. |
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.
Thanks @vuong177! Just needs to be brought up to date with main
Description
DeleteFeesInEscrow
intoDistributePacketFees
funccloses: #1320