Skip to content

Commit

Permalink
Restore tokenfactory params from chihuahuachain v6
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor118 committed May 18, 2024
1 parent fa0855d commit fbb72e5
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 fbb72e5

Please sign in to comment.