-
Notifications
You must be signed in to change notification settings - Fork 53
CIP: reduce inflation #249
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
Changes from 7 commits
7aee15b
561c21f
d8c8086
ee4c845
e7229fc
3a5079c
058df3b
ee41da5
dc597fe
ff06d0e
a46dea1
97ddda5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,199 @@ | ||
| | cip | 29 | | ||
| |----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| | title | Decrease Inflation and Adjust Disinflation | | ||
| | description | This proposal lowers the Celestia inflation and disinflation by 33% immediately to moderate issuance while maintaining competitive yield. | | ||
| | author | Dean Eigenmann ([@decanus](https://github.com/decanus)), Marko Baricevic ([@tac0turtle](https://github.com/tac0turtle)) | | ||
| | discussions-to | [Inflation Reduction Discussion Forum](https://forum.celestia.org/t/cip-reduce-inflation/1896) | | ||
| | status | Draft | | ||
| | type | Standards Track | | ||
| | category | Core | | ||
| | created | 2025-02-04 | | ||
|
|
||
| ## **Abstract** | ||
|
|
||
| This CIP proposes to reduce both the Celestia inflation and disinflation by 33%. Celestia has a thriving ecosystem and already enjoys a significant share of the overall DA market. The current nominal inflation schedule also results in high dollar-value rewards for stakers. By "jumping" the inflation schedule forward, this proposal seeks to moderate total issuance, thereby reducing overall token dilution while still providing a yield that remains competitive to ensure the security of the network. | ||
|
|
||
| ## **Motivation** | ||
|
|
||
| Celestia launched in October of 2023, and since its launch there has been a high demand for posting blobs to the network, while other solutions have not been able to scale in a decentralized manner. However, TIA’s bonding has been continuously high (peaking at around 72% and currently at about 65%) meaning that stakers are overly incentivized. | ||
|
|
||
| While we have observed a large shift towards a dynamic inflation schedule: Solana, Near, and Cosmos, we believe that simplicity is key. Staying with a fixed inflation schedule provides a simple solution onchain and we believe that when Celestia's fee market matures and a diverse ecosystem of yield opportunities on TIA emerge, a more complex solution could be better justified. Instead, keeping it simple is better aligned with Celestia's ethos (and still allows for future changes). | ||
|
|
||
| The goal of this CIP is to reduce the inflation of Celestia immediately; both in a simple and understandable manner, as well as in an economically sustainable way guaranteeing staking rewards remain competitive over time. | ||
|
|
||
| Reasons for this CIP are: | ||
|
|
||
| 1. Current issuance is too high, especially in dollar-terms. We want to avoid accelerated dilution of non-stakers. | ||
| 2. To empower applications to compete effectively with staking yields. While it is important to maintain a high bond ratio to secure the network, we also envision a vibrant ecosystem of diverse applications emerging on Celestia-secured rollups. Using TIA as collateral onchain competes with staking yield and reducing inflation makes onchain use more attractive. | ||
|
||
| 3. By reducing inflation we reduce the amount of forced selling due to taxes and other offchain liabilities. High inflation can contribute to centralization of a network by diluting non-stakers. If a set of users are staking with high inflation their stake and inadvertently their network power increases while a non-staker would see their network power decrease. While this is a property of PoS systems, higher inflation accelerates it. | ||
|
|
||
| At a 33% reduction the inflation rate is 4.82% in the first year of the reduction, and the APR is roughly 7.39% if the bonding ratio stays the same. This is currently around 2.2 times the APR of Ethereum staking, but Celestia is a smaller and younger network so a higher security budget is justified. | ||
|
|
||
| ## **Specification** | ||
|
|
||
| ### **Overview** | ||
|
|
||
| 1. Reduce Inflation: We reduce the current inflation by 33% in the next upgrade (v4) | ||
| 2. Reduce Disinflation Rate: We reduce the disinflation rate by 33% | ||
| 3. Reward Calculation: | ||
|
|
||
| * The reward distribution mechanism remains unchanged—rewards are still allocated pro rata to stakers and validators. | ||
|
|
||
| * The only modification is to the base inflation parameter and the disinflation parameter; both drop by 33% on the next upgrade leading to lower yet sustainable inflation immediately | ||
|
|
||
| Implementers MUST ensure: | ||
|
|
||
| * The chain upgrade process includes the new inflation parameters without disrupting block production. | ||
|
|
||
| * The new schedule is included in the next major version release to reflect the updated inflation rates on-chain in the next app version (v4). | ||
|
|
||
| ## **Parameters** | ||
|
|
||
| Below is the illustrative table showing the original versus the accelerated schedule. The “New Adjusted Inflation” column is an example of how inflation might look if we reduce it by 33% starting in the next upgrade. Note that for simplicity, the table assumes the inflation drop is applied at year 1.5 but if this proposal gets accepted, it would be immediately applied with the next upgrade. | ||
|
|
||
| | Year | Original Inflation | New Adjusted Inflation | Notes | | ||
| |:--------|:-------------------|:-----------------------|:-----------------------------------------------------------------------------------------------------------------------------| | ||
| | **0** | 8.00 | 8.00 | Genesis year, no change. | | ||
| | **1** | 7.20 | 7.20 | First disinflation applied (10%). | | ||
| | **1.5** | 7.20 | 4.82 | 33% drop in inflation applied, disinflation rate reduced to 6.7%. (This will be implemented in the next upgrade of Celestia) | | ||
| | **2** | 6.48 | 4.50 | Regular annual disinflation applied (6.7%). | | ||
|
||
| | **3** | 5.83 | 4.20 | Regular annual disinflation applied (6.7%). | | ||
| | **4** | 5.25 | 3.92 | Regular annual disinflation applied (6.7%). | | ||
| | **5** | 4.72 | 3.66 | Regular annual disinflation applied (6.7%). | | ||
| | **6** | 4.25 | 3.41 | Regular annual disinflation applied (6.7%). | | ||
| | **7** | 3.83 | 3.18 | Regular annual disinflation applied (6.7%). | | ||
| | **8** | 3.44 | 2.97 | Regular annual disinflation applied (6.7%). | | ||
| | **9** | 3.10 | 2.77 | Regular annual disinflation applied (6.7%). | | ||
| | **10** | 2.79 | 2.58 | Regular annual disinflation applied (6.7%). | | ||
| | **11** | 2.51 | 2.41 | Regular annual disinflation applied (6.7%). | | ||
| | **12** | 2.26 | 2.25 | Regular annual disinflation applied (6.7%). | | ||
| | **13** | 2.03 | 2.10 | Regular annual disinflation applied (6.7%). | | ||
| | **14** | 1.83 | 1.96 | Regular annual disinflation applied (6.7%). | | ||
| | **15** | 1.65 | 1.83 | Regular annual disinflation applied (6.7%). | | ||
| | **16** | 1.50 | 1.70 | Regular annual disinflation applied (6.7%). | | ||
| | **17** | 1.50 | 1.59 | Regular annual disinflation applied (6.7%). | | ||
| | **18** | 1.50 | 1.50 | Regular annual disinflation applied (6.7%). | | ||
|
|
||
| To understand the numbers on how this would affect stakers please refer to the tables below: | ||
|
|
||
| Current schedule: | ||
|
|
||
| | Year | Inflation Rate | APR (35% Staked) | APR (50% Staked) | APR (65% Staked) | | ||
| |:-------|:---------------|:-----------------|:-----------------|:-----------------| | ||
| | **0** | 8.0 | 22.86 | 16.0 | 12.31 | | ||
| | **1** | 7.2 | 20.57 | 14.4 | 11.08 | | ||
| | **2** | 6.48 | 18.51 | 12.96 | 9.97 | | ||
| | **3** | 5.83 | 16.66 | 11.66 | 8.97 | | ||
| | **4** | 5.25 | 15.0 | 10.5 | 8.08 | | ||
| | **5** | 4.72 | 13.49 | 9.44 | 7.26 | | ||
| | **6** | 4.25 | 12.14 | 8.5 | 6.54 | | ||
| | **7** | 3.83 | 10.94 | 7.66 | 5.89 | | ||
| | **8** | 3.44 | 9.83 | 6.88 | 5.29 | | ||
| | **9** | 3.1 | 8.86 | 6.2 | 4.77 | | ||
| | **10** | 2.79 | 7.97 | 5.58 | 4.29 | | ||
| | **11** | 2.51 | 7.17 | 5.02 | 3.86 | | ||
| | **12** | 2.26 | 6.46 | 4.52 | 3.48 | | ||
| | **13** | 2.03 | 5.8 | 4.06 | 3.12 | | ||
| | **14** | 1.83 | 5.23 | 3.66 | 2.82 | | ||
| | **15** | 1.65 | 4.71 | 3.3 | 2.54 | | ||
| | **16** | 1.5 | 4.29 | 3.0 | 2.31 | | ||
|
|
||
| Updated schedule: | ||
tac0turtle marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| | Year | Inflation Rate | APR (35% Staked) | APR (50% Staked) | APR (65% Staked) | | ||
| |:--------|:---------------|:-----------------|:-----------------|:-----------------| | ||
| | **0** | 8.0 | 22.86 | 16.0 | 12.31 | | ||
| | **1** | 7.2 | 20.57 | 14.4 | 11.08 | | ||
| | **1.5** | 4.82 | 13.77 | 9.64 | 7.42 | | ||
| | **2** | 4.5 | 12.86 | 9.0 | 6.92 | | ||
| | **3** | 4.2 | 12.0 | 8.4 | 6.46 | | ||
| | **4** | 3.92 | 11.2 | 7.84 | 6.03 | | ||
| | **5** | 3.66 | 10.46 | 7.32 | 5.63 | | ||
| | **6** | 3.41 | 9.74 | 6.82 | 5.25 | | ||
| | **7** | 3.18 | 9.09 | 6.36 | 4.89 | | ||
| | **8** | 2.97 | 8.49 | 5.94 | 4.57 | | ||
| | **9** | 2.77 | 7.91 | 5.54 | 4.26 | | ||
| | **10** | 2.58 | 7.37 | 5.16 | 3.97 | | ||
| | **11** | 2.41 | 6.89 | 4.82 | 3.71 | | ||
| | **12** | 2.25 | 6.43 | 4.5 | 3.46 | | ||
| | **13** | 2.1 | 6.0 | 4.2 | 3.23 | | ||
| | **14** | 1.96 | 5.6 | 3.92 | 3.02 | | ||
| | **15** | 1.83 | 5.23 | 3.66 | 2.82 | | ||
| | **16** | 1.7 | 4.86 | 3.4 | 2.62 | | ||
| | **17** | 1.59 | 4.54 | 3.18 | 2.45 | | ||
| | **18** | 1.5 | 4.29 | 3.0 | 2.31 | | ||
|
|
||
| ## **Backwards Compatibility** | ||
|
|
||
| No backward compatibility issues are anticipated. This parameter change follows the standard CIP process, and current node operators should not require any additional changes besides upgrading to the new binary which automatically implements the changes discussed in this CIP. | ||
|
|
||
| ## **Test Cases** | ||
|
|
||
| 1. Parameter Verification Test: | ||
|
|
||
| * Ensure that when the updated inflation parameters are applied at Year 3, the on-chain inflation rate reflects the new values instead of the old schedule. | ||
|
|
||
| 2. Reward Distribution Test: | ||
|
|
||
| * Validate that block rewards are distributed correctly under the new inflation rates. | ||
|
|
||
| ## **Reference Implementation** | ||
|
|
||
| Below is a pseudo-code snippet for updating the inflation parameters. Actual implementation may vary by client: | ||
|
|
||
| Proposed implementation: | ||
|
|
||
| ```go | ||
| func (m Minter) CalculateInflationRate(ctx sdk.Context, genesis time.Time) sdk.Dec { | ||
| years := yearsSinceGenesis(genesis, ctx.BlockTime()) | ||
|
|
||
| // Default inflation calculation | ||
| inflationRate := InitialInflationRateAsDec().Mul( | ||
| sdk.OneDec().Sub(DisinflationRateAsDec()).Power(uint64(years)), | ||
| ) | ||
|
|
||
| // For AppVersion > 3, adjust the inflation rate: | ||
| if ctx.ConsensusParams().Version.AppVersion > 3 { | ||
| // First, reduce the current inflation rate by 33% | ||
| inflationRate = inflationRate.Mul(sdk.NewDecWithPrec(67, 2)) // 0.67 \= 67% | ||
|
|
||
| // Then, if we are in year two or later, apply a one-time disinflation of 6.7% | ||
| if years >= 2 { | ||
| inflationRate = inflationRate.Mul(sdk.OneDec().Sub(sdk.NewDecWithPrec(67, 3))) // 1 \- 0.067 \= 0.933 | ||
| } | ||
| } | ||
|
|
||
| // Ensure the inflation rate does not fall below the target inflation rate. | ||
| if inflationRate.LT(TargetInflationRateAsDec()) { | ||
| return TargetInflationRateAsDec() | ||
| } | ||
|
|
||
| return inflationRate | ||
| } | ||
| ``` | ||
|
|
||
| ## **Alternative Approaches** | ||
|
|
||
| Alternatives that were considered. | ||
|
|
||
| ### **Alternative 0: Do nothing** | ||
|
|
||
| If we continue to do nothing, Celestia’s inflation schedule will end up competing with applications trying to offer alternative yield to stakers, therefore limiting TIA’s onchain usage. | ||
|
|
||
| ### **Alternative 1: Dynamic Inflation based on bonded ratio** | ||
|
|
||
| The Cosmos hub has a market dynamic inflation schedule/range where the inflation increases and decreases the further away current stake is from an ideal target amount of bonded stake. | ||
|
|
||
| Inflation \= CurrentInflation \+ (1 \- BondedRatio / GoalBonded) \* (InflationRateChange / BlocksPerYear) | ||
|
|
||
| Similarly, the Solana community is currently considering a similar approach but with vastly faster corrections than the Cosmos hub (see [SIMD-0228](https://github.com/solana-foundation/solana-improvement-documents/pull/228) for details). | ||
|
|
||
| Generally, the dynamic approach is more complex and less predictable. Celestia's community has a strong commitment to base layer simplicity and minimalism. A fixed inflation schedule is simple and less complex, probably less controversial, and the right answer at this point in time | ||
|
|
||
| ### **Alternative 2: Accelerate the Inflation faster (or slower)** | ||
|
|
||
| Why not apply a disinflation rate of 10% only, or why not even a disinflation rate of 50%? We believe that a 33% drop of inflation and disinflation (as you can see by the numbers) has a sufficiently significant effect on the inflation without deviating too much from the original schedule. For comparison, here are the numbers if we applied 50% instead or kept the original schedule: | ||
|
|
||
|  | ||
|
|
||
| If we accelerate the schedule *slower*, the system continues over incentivising stakers and the change would not really move the needle as it would be too close to the current schedule. If we accelerate even faster, we risk hitting the target inflation of 1.5% too fast or generally risk lowering the inflation too much too early. Celestia mainnet is just about a year old and while there is already a thriving ecosystem, we want to err on the side of caution. A target inflation of <~5% seems ideal for a proof-of-stake system which is still early and whose tokenomics will play out in the future. | ||
Uh oh!
There was an error while loading. Please reload this page.