Skip to content

Commit

Permalink
Merge pull request #149 from cudoventures/public-testnet-v1-2-3-hotfix2
Browse files Browse the repository at this point in the history
hotfix: remove all authz references in upgrade handlers
  • Loading branch information
jgtormo authored May 16, 2024
2 parents a111c01 + 7e46b9c commit 1131dd5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/app_upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/authz"
// "github.com/cosmos/cosmos-sdk/x/authz"

upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
)
Expand Down Expand Up @@ -73,7 +73,8 @@ func setHandlerForVersion_1_1(app *App) {

if upgradeInfo.Name == upgradeVersion && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
storeUpgrades := storetypes.StoreUpgrades{
Added: []string{authz.ModuleName, GroupModuleName, AddressBookModuleName, MarketplaceModuleName},
// Added: []string{authz.ModuleName, GroupModuleName, AddressBookModuleName, MarketplaceModuleName},
Added: []string{GroupModuleName, AddressBookModuleName, MarketplaceModuleName},
}

app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades))
Expand Down

0 comments on commit 1131dd5

Please sign in to comment.