Skip to content

feat(x/rewards): Add fee burn#422

Merged
zanicar merged 6 commits into
mainfrom
fd/fee_burn
Jul 27, 2023
Merged

feat(x/rewards): Add fee burn#422
zanicar merged 6 commits into
mainfrom
fd/fee_burn

Conversation

@fdymylja

Copy link
Copy Markdown
Contributor

This PR adds fee burning on TX fees which are not distributed to contracts.

@fdymylja fdymylja requested review from a team and spoo-bar July 20, 2023 13:10
@codecov

codecov Bot commented Jul 20, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 72.72% and project coverage change: -0.05% ⚠️

Comparison is base (d6c5cf4) 69.59% compared to head (7a2f211) 69.54%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #422      +/-   ##
==========================================
- Coverage   69.59%   69.54%   -0.05%     
==========================================
  Files          67       67              
  Lines        4002     4006       +4     
==========================================
+ Hits         2785     2786       +1     
- Misses       1122     1124       +2     
- Partials       95       96       +1     
Files Changed Coverage Δ
x/rewards/ante/fee_deduction.go 54.94% <25.00%> (-1.88%) ⬇️
app/ante.go 58.82% <100.00%> (ø)
app/app.go 90.62% <100.00%> (+0.01%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zanicar zanicar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread app/ante.go Outdated
Comment thread app/app.go Outdated
fdymylja and others added 2 commits July 25, 2023 15:44
Signed-off-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>

@zanicar zanicar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spoo-bar spoo-bar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

We should also update ADR about this

@zanicar zanicar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zanicar zanicar merged commit 6abd9cc into main Jul 27, 2023
@zanicar zanicar deleted the fd/fee_burn branch July 27, 2023 09:11
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.

3 participants