From 2229b4b2ae6fb952f2a7a0d4f231aaa1a3e07d19 Mon Sep 17 00:00:00 2001 From: beer-1 Date: Tue, 19 Nov 2024 14:03:11 +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 9069925..0be8d44 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -278,6 +278,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 02ee3d2..c250293 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) {