From 2b02285ba528729568c27a23b0bc17da93a09ac8 Mon Sep 17 00:00:00 2001 From: beer-1 Date: Tue, 19 Nov 2024 14:13:39 +0900 Subject: [PATCH] set bank keeper to authz keeper --- app/keepers/keepers.go | 1 + app/upgrade.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 89a88aa..be91b83 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -284,6 +284,7 @@ func NewAppKeeper( appKeepers.FeeGrantKeeper = &feeGrantKeeper authzKeeper := authzkeeper.NewKeeper(runtime.NewKVStoreService(appKeepers.keys[authzkeeper.StoreKey]), appCodec, bApp.MsgServiceRouter(), appKeepers.AccountKeeper) + authzKeeper = authzKeeper.SetBankKeeper(appKeepers.BankKeeper) appKeepers.AuthzKeeper = &authzKeeper groupConfig := group.DefaultConfig() diff --git a/app/upgrade.go b/app/upgrade.go index f9ca920..241b995 100644 --- a/app/upgrade.go +++ b/app/upgrade.go @@ -22,7 +22,7 @@ import ( opchildtypes "github.com/initia-labs/OPinit/x/opchild/types" ) -const upgradeName = "0.6.5" +const upgradeName = "0.6.6" // RegisterUpgradeHandlers returns upgrade handlers func (app *MinitiaApp) RegisterUpgradeHandlers(cfg module.Configurator) {