-
Notifications
You must be signed in to change notification settings - Fork 19
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: Initial Municipal Inflations #150
Conversation
…into feat/inflation-infrastructure
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
…nto feat/inflation-infrastructure # Conflicts: # x/mint/types/inflations_test.go
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
x/mint/types/inflations_test.go
Outdated
|
||
// Assert tokens reached account | ||
testAccountBalance := app.BankKeeper.GetBalance(ctx, acc, tc.inflation.Denom) | ||
require.Equal(t, tc.expectedBalance.Int64(), testAccountBalance.Amount.Int64()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here, we should not convert balances to uint64
, compare directly native types of balance values.
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
…ion-infrastructure
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
…tchai/cosmos-sdk into feat/inflation-infrastructure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as MVP (it will need subsequent improvements and additional tests)
This reverts commit 6de810c.
Introduces Municiple Inflation, allowing native tokens to have individually specified inflation rates and 'fee-collector' accounts.
MunicipalInflation
objects will be used to inflate the relevant supply per block and distribute the new tokens to the fee-collector address.