-
Notifications
You must be signed in to change notification settings - Fork 95
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
change: move handling of tx fees and inflationary rewards to middlewares #193
Conversation
Codecov Report
@@ Coverage Diff @@
## main #193 +/- ##
==========================================
- Coverage 58.66% 55.89% -2.78%
==========================================
Files 17 18 +1
Lines 1200 1238 +38
==========================================
- Hits 704 692 -12
- Misses 460 510 +50
Partials 36 36
Continue to review full report at Codecov.
|
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.
Love the separation of concerns 🔥
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.
@fdymylja I do believe we would still need to transfer the inflationary reward from Fee collector to the gas tracker module account.
https://github.com/archway-network/archway/pull/193/files#diff-37079039d75251a7e8c59b88511e38f2833e47a680f7989fe74ba9a940fb2c1bR102 <= tx fees are transferred here. https://github.com/archway-network/archway/pull/193/files#diff-d532f09edd56c8154bebc56d09a1569792c037fc476ae0b756e3a1f56ec39a65R52 <= inflationary rewards are being transferred here |
# Conflicts: # app/app.go
closes: #192
closes: #194