Skip to content

Commit

Permalink
upgrade: gov upgrade handler changes (#186)
Browse files Browse the repository at this point in the history
* update readme

* go.mod: bump up wasmd

* updated expedited proposal min deposit

* fix lint

* fix lint

* update globalfee params
  • Loading branch information
harish551 authored Sep 11, 2024
1 parent d4e73dc commit 765e962
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/upgrades/v5/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func CreateV5UpgradeHandler(
govParams.ExpeditedThreshold = "0.7"
expeditedVotingPeriod := time.Hour * 24
govParams.ExpeditedVotingPeriod = &expeditedVotingPeriod
govParams.ExpeditedMinDeposit = sdk.NewCoins(sdk.NewCoin("uflix", sdkmath.NewIntWithDecimal(2500, 6)))
govParams.ExpeditedMinDeposit = sdk.NewCoins(sdk.NewCoin("uflix", sdkmath.NewIntWithDecimal(15000, 6)))

err = keepers.GovKeeper.Params.Set(ctx, govParams)
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions x/globalfee/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
)

var maxTotalBypassMinFeeMsgGasUsage = 2_000_000
var maxTotalBypassMinFeeMsgGasUsage = uint64(2_000_000)

// DefaultParams returns default parameters
func DefaultParams() Params {
return Params{
MinimumGasPrices: sdk.DecCoins(nil),
BypassMinFeeMsgTypes: []string{},
MaxTotalBypassMinFeeMsgGasUsage: uint64(maxTotalBypassMinFeeMsgGasUsage),
MaxTotalBypassMinFeeMsgGasUsage: maxTotalBypassMinFeeMsgGasUsage,
}
}

Expand Down
2 changes: 1 addition & 1 deletion x/tokenfactory/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func NewModifyDenomMetadataCmd() *cobra.Command {
},
{
Denom: ticker,
Exponent: uint32(exponent), //nolint:all
Exponent: uint32(exponent),
Aliases: []string{fullDenom},
},
},
Expand Down

0 comments on commit 765e962

Please sign in to comment.