diff --git a/app/upgrades/v6_4/upgrade.go b/app/upgrades/v6_4/upgrade.go index 825fab2f8..ca18f51f7 100644 --- a/app/upgrades/v6_4/upgrade.go +++ b/app/upgrades/v6_4/upgrade.go @@ -20,7 +20,7 @@ func CreateUpgradeHandler( ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { // Add params for custom middleware - custommiddlewareparams := customstmiddleware.Params{BlocksPerEpoch: 100, AllowUnbondAfterEpochProgressBlockNumber: 0} + custommiddlewareparams := customstmiddleware.Params{BlocksPerEpoch: 360, AllowUnbondAfterEpochProgressBlockNumber: 0} keepers.StakingMiddlewareKeeper.SetParams(ctx, custommiddlewareparams) return mm.RunMigrations(ctx, configurator, vm) diff --git a/x/stakingmiddleware/types/genesis.go b/x/stakingmiddleware/types/genesis.go index 0b7665f88..d9cf35fad 100644 --- a/x/stakingmiddleware/types/genesis.go +++ b/x/stakingmiddleware/types/genesis.go @@ -10,7 +10,7 @@ func NewGenesisState(params Params) *GenesisState { // DefaultGenesisState creates a default GenesisState object func DefaultGenesisState() *GenesisState { return &GenesisState{ - Params: Params{BlocksPerEpoch: 10, AllowUnbondAfterEpochProgressBlockNumber: 0}, + Params: Params{BlocksPerEpoch: 360, AllowUnbondAfterEpochProgressBlockNumber: 0}, } }