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(inflation)!: make inflation follow a polynomial distribution #1670

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

matthiasmatt
Copy link
Contributor

@matthiasmatt matthiasmatt commented Nov 8, 2023

Description

Make the inflation follow a polynomial distribution instead of the exponential one.
Inflation period had to be changed to monthly instead of yearly to have better control on the curve.

@matthiasmatt matthiasmatt requested a review from a team as a code owner November 8, 2023 17:45
Copy link
Member

@Unique-Divine Unique-Divine left a comment

Choose a reason for hiding this comment

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

Tentative pass but several test cases still need to be fixed

@Unique-Divine Unique-Divine changed the title feat: make inflation follow a polynomial distribution feat!(inflation): make inflation follow a polynomial distribution Nov 10, 2023
@Unique-Divine Unique-Divine changed the title feat!(inflation): make inflation follow a polynomial distribution feat(inflation)!: make inflation follow a polynomial distribution Nov 10, 2023
@matthiasmatt matthiasmatt enabled auto-merge (squash) November 14, 2023 16:50
@matthiasmatt matthiasmatt merged commit e699ab9 into master Nov 14, 2023
14 of 15 checks passed
@matthiasmatt matthiasmatt deleted the mat/poly-inflation branch November 14, 2023 17:02
k-yang pushed a commit that referenced this pull request Nov 21, 2023
)

* feat: make inflation follow a polynomial distribution

* chore: changelog

* fix: fix inflation test

* fix: fix epoch/period confusion
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.

[epic] Smoothness on the x/inflation curve to implement tokenomics more precisely
2 participants