Skip to content

x/mint: Inconsistency between spec and code #3646

Closed
@hendrikhofstadt

Description

@hendrikhofstadt

x/mint is currently using stakeKeeper's totalPower as base value for inflation.

That means that only bonded tokens are inflated while the doc states that the total supply will be inflated.

totalSupply := k.sk.TotalPower(ctx)

Calculate the annual provisions based on current total supply and inflation

In a discussion on Riot @adrianbrink pointed out that this clearly reduces the incentive for people to bond their ATOMs and increase the security of the network, which is a very valid point.

CC: @cwgoes @jaekwon @zmanian


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions