From c17de0112ecb98d817f4d909c7d45d9f40d6fd10 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Fri, 19 Jul 2024 21:46:00 +0200 Subject: [PATCH] fix system test --- simapp/app_config.go | 2 +- simapp/upgrades.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/simapp/app_config.go b/simapp/app_config.go index 3013943fb90d..4eb39f1766c7 100644 --- a/simapp/app_config.go +++ b/simapp/app_config.go @@ -281,7 +281,7 @@ var ( Name: epochstypes.ModuleName, Config: appconfig.WrapAny(&epochsmodulev1.Module{}), }, - // This module is used for testing the depinject module registration. + // This module is used for testing the depinject gogo x pulsar module registration. { Name: countertypes.ModuleName, Config: appconfig.WrapAny(&countertypes.Module{}), diff --git a/simapp/upgrades.go b/simapp/upgrades.go index 7ff7377840d8..d8b1852c7289 100644 --- a/simapp/upgrades.go +++ b/simapp/upgrades.go @@ -10,6 +10,8 @@ import ( epochstypes "cosmossdk.io/x/epochs/types" protocolpooltypes "cosmossdk.io/x/protocolpool/types" upgradetypes "cosmossdk.io/x/upgrade/types" + + countertypes "github.com/cosmos/cosmos-sdk/testutil/x/counter/types" ) // UpgradeName defines the on-chain upgrade name for the sample SimApp upgrade @@ -45,6 +47,7 @@ func (app SimApp) RegisterUpgradeHandlers() { accounts.StoreKey, protocolpooltypes.StoreKey, epochstypes.StoreKey, + countertypes.StoreKey, // This module is used for testing purposes only. }, Deleted: []string{"crisis"}, // The SDK discontinued the crisis module in v0.52.0 }