From 79505a23d1dac625783928b6a3e259e213a3b014 Mon Sep 17 00:00:00 2001 From: beer-1 Date: Thu, 10 Oct 2024 17:31:33 +0900 Subject: [PATCH] fix nil memory access on authz --- app/keepers/keepers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 4362dc21..813daeb6 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -296,6 +296,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 // Create evidence Keeper for to register the IBC light client misbehaviour evidence route