diff --git a/app/app.go b/app/app.go index a5951e99..4794c847 100644 --- a/app/app.go +++ b/app/app.go @@ -51,7 +51,7 @@ import ( "github.com/Nolus-Protocol/nolus-core/app/keepers" appparams "github.com/Nolus-Protocol/nolus-core/app/params" "github.com/Nolus-Protocol/nolus-core/app/upgrades" - v065 "github.com/Nolus-Protocol/nolus-core/app/upgrades/v065" + v066 "github.com/Nolus-Protocol/nolus-core/app/upgrades/v066" "github.com/Nolus-Protocol/nolus-core/docs" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" @@ -67,7 +67,7 @@ const ( var ( DefaultNodeHome string - Upgrades = []upgrades.Upgrade{v065.Upgrade} + Upgrades = []upgrades.Upgrade{v066.Upgrade} ) var ( diff --git a/app/upgrades/v066/upgrades.go b/app/upgrades/v066/upgrades.go index 8d314224..8ec76e63 100644 --- a/app/upgrades/v066/upgrades.go +++ b/app/upgrades/v066/upgrades.go @@ -32,8 +32,8 @@ func CreateUpgradeHandler( // Properly register consensus params. In the process, change block max bytes params: defaultConsensusParams := tmtypes.DefaultConsensusParams().ToProto() - defaultConsensusParams.Block.MaxBytes = 5000000 // previously 10485760 - defaultConsensusParams.Block.MaxGas = 300000000 // previously 120000000 + defaultConsensusParams.Block.MaxBytes = 4000000 // previously 22020096 + defaultConsensusParams.Block.MaxGas = 100000000 // previously 100000000 err = keepers.ConsensusParamsKeeper.ParamsStore.Set(ctx, defaultConsensusParams) if err != nil { return nil, err