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.
|
edjroz
left a comment
There was a problem hiding this comment.
Love the separation of concerns 🔥
ParthDesai
left a comment
There was a problem hiding this comment.
@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