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

feat: mint calculator #2159

Merged
merged 10 commits into from
Jul 21, 2023
Merged

feat: mint calculator #2159

merged 10 commits into from
Jul 21, 2023

Conversation

robert-zaremba
Copy link
Member

Description

Adding cusotmized InflationCalculationFn and a inflation Calculator type.
Should be used in #2145 to avoid module fork.


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • added appropriate labels to the PR
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@robert-zaremba robert-zaremba requested a review from a team as a code owner July 21, 2023 15:33
@codecov
Copy link

codecov bot commented Jul 21, 2023

Codecov Report

Merging #2159 (1f6f280) into main (7f05ad4) will decrease coverage by 4.78%.
The diff coverage is 80.60%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2159      +/-   ##
==========================================
- Coverage   75.38%   70.61%   -4.78%     
==========================================
  Files         100      147      +47     
  Lines        8025    11197    +3172     
==========================================
+ Hits         6050     7907    +1857     
- Misses       1589     2750    +1161     
- Partials      386      540     +154     
Impacted Files Coverage Δ
ante/spam_prevention.go 75.92% <ø> (ø)
x/incentive/codec.go 47.82% <ø> (+9.89%) ⬆️
x/incentive/keeper/invariants.go 0.00% <0.00%> (ø)
x/incentive/keeper/update.go 52.11% <ø> (ø)
x/incentive/keys.go 100.00% <ø> (ø)
x/incentive/msgs.go 77.41% <ø> (-0.81%) ⬇️
x/incentive/params.go 89.28% <ø> (-10.72%) ⬇️
x/leverage/client/tests/suite.go 100.00% <ø> (ø)
x/leverage/client/tests/tests.go 100.00% <ø> (ø)
x/leverage/keeper/borrows.go 75.93% <ø> (-2.64%) ⬇️
... and 55 more

... and 52 files with indirect coverage changes

@robert-zaremba robert-zaremba requested a review from a team as a code owner July 21, 2023 15:51
CHANGELOG.md Outdated Show resolved Hide resolved
@gsk967 gsk967 enabled auto-merge July 21, 2023 17:12
@gsk967 gsk967 added this pull request to the merge queue Jul 21, 2023
Merged via the queue into main with commit d1b3c15 Jul 21, 2023
26 checks passed
@gsk967 gsk967 deleted the robert/new-mint-calculator branch July 21, 2023 17:24
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.

2 participants