From 8a6a2e6a587806e35245604d8b91e1f071b2fc7b Mon Sep 17 00:00:00 2001 From: beer-1 Date: Tue, 19 Nov 2024 14:04:19 +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 e19b1c5..aa50490 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -293,6 +293,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 79ffed1..2124926 100644 --- a/app/upgrade.go +++ b/app/upgrade.go @@ -9,7 +9,7 @@ import ( opchildtypes "github.com/initia-labs/OPinit/x/opchild/types" ) -const upgradeName = "0.6.3" +const upgradeName = "0.6.4" // RegisterUpgradeHandlers returns upgrade handlers func (app *MinitiaApp) RegisterUpgradeHandlers(cfg module.Configurator) {