Skip to content

Commit

Permalink
Merge pull request #118 from Victor118/main
Browse files Browse the repository at this point in the history
Restore tokenfactory params in v7 upgrade
  • Loading branch information
woof-chihuahua authored May 18, 2024
2 parents 9514431 + fbb72e5 commit 2022cdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,8 @@ func (app *App) RegisterUpgradeHandlers(cfg module.Configurator) {
Weight: sdk.NewDecWithPrec(90, 2), //will receive 90% of commission from minting tokens
},
}
tokenFactoryParams.DenomCreationFee = nil
tokenFactoryParams.DenomCreationGasConsume = 50_000
tokenFactoryParams.BuildersCommission = sdk.NewDecWithPrec(1, 2) //1% of minted token goes to builders
errParams := app.TokenFactoryKeeper.SetParams(ctx, tokenFactoryParams)
if err == nil {
Expand Down

0 comments on commit 2022cdb

Please sign in to comment.