Skip to content
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 dapp inflationary rewards calculation from BeginBlock handler to keeper #186

Merged
merged 7 commits into from
Jul 13, 2022

Conversation

fdymylja
Copy link
Contributor

@fdymylja fdymylja commented Jul 13, 2022

Inflationary rewards are stored historically.

@codecov
Copy link

codecov bot commented Jul 13, 2022

Codecov Report

Merging #186 (9169d6d) into main (a5d5b80) will increase coverage by 0.03%.
The diff coverage is 70.00%.

@@            Coverage Diff             @@
##             main     #186      +/-   ##
==========================================
+ Coverage   56.82%   56.86%   +0.03%     
==========================================
  Files          15       17       +2     
  Lines        1209     1224      +15     
==========================================
+ Hits          687      696       +9     
- Misses        477      483       +6     
  Partials       45       45              
Impacted Files Coverage Δ
x/gastracker/module/module.go 0.00% <0.00%> (ø)
...gastracker/keeper/keeper_contract_gas_processor.go 59.55% <59.55%> (ø)
x/gastracker/keeper/keeper.go 78.72% <73.07%> (+4.70%) ⬆️
x/gastracker/keeper/keeper_leftover_rewards.go 87.75% <87.75%> (ø)
app/app.go 90.25% <100.00%> (+0.02%) ⬆️
x/gastracker/module/abci.go 79.38% <100.00%> (-2.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5d5b80...9169d6d. Read the comment docs.

@fdymylja fdymylja merged commit db41026 into main Jul 13, 2022
@fdymylja fdymylja deleted the fdymylja/refactor-3 branch July 13, 2022 17:23
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.

None yet

2 participants