From 65c6efa73947e8b8782e2b38d37d076875d9105c Mon Sep 17 00:00:00 2001 From: Mathieu Hofman Date: Thu, 30 Nov 2023 19:06:48 +0000 Subject: [PATCH] chore: remove upgrade-12 actions --- golang/cosmos/app/app.go | 6 ------ .../unreleased-upgrade/pre.test.js | 11 ----------- 2 files changed, 17 deletions(-) diff --git a/golang/cosmos/app/app.go b/golang/cosmos/app/app.go index ef95ea6f4e6..f50b9e15c23 100644 --- a/golang/cosmos/app/app.go +++ b/golang/cosmos/app/app.go @@ -104,7 +104,6 @@ import ( "github.com/tendermint/tendermint/libs/log" tmos "github.com/tendermint/tendermint/libs/os" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmtypes "github.com/tendermint/tendermint/types" dbm "github.com/tendermint/tm-db" gaiaappparams "github.com/Agoric/agoric-sdk/golang/cosmos/app/params" @@ -833,11 +832,6 @@ func unreleasedUpgradeHandler(app *GaiaApp, targetUpgrade string) func(sdk.Conte // Record the plan to send to SwingSet app.upgradePlan = &plan - // Reflect default BlockParams.MaxBytes change to current params - cp := app.BaseApp.GetConsensusParams(ctx) - cp.Block.MaxBytes = tmtypes.DefaultBlockParams().MaxBytes - app.BaseApp.StoreConsensusParams(ctx, cp) - // Always run module migrations mvm, err := app.mm.RunMigrations(ctx, app.configurator, fromVm) if err != nil { diff --git a/packages/deployment/upgrade-test/upgrade-test-scripts/unreleased-upgrade/pre.test.js b/packages/deployment/upgrade-test/upgrade-test-scripts/unreleased-upgrade/pre.test.js index 86cad7d5d47..f74c8414962 100644 --- a/packages/deployment/upgrade-test/upgrade-test-scripts/unreleased-upgrade/pre.test.js +++ b/packages/deployment/upgrade-test/upgrade-test-scripts/unreleased-upgrade/pre.test.js @@ -19,14 +19,3 @@ test('Ensure Network Vat is at 0', async t => { const incarnation = await getIncarnation('network'); t.is(incarnation, 0); }); - -test('Ensure MaxBytes param was updated', async t => { - const { value: rawParams } = await agd.query( - 'params', - 'subspace', - 'baseapp', - 'BlockParams', - ); - const blockParams = JSON.parse(rawParams); - t.is(blockParams.max_bytes, '5242880'); -});