From 0f3c773c4926743091e9844ea0e683e98ebe56ec Mon Sep 17 00:00:00 2001 From: HuangYi Date: Thu, 5 Dec 2024 17:41:37 +0800 Subject: [PATCH] add authz --- app/legacy.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/legacy.go b/app/legacy.go index e21eedc2c0..6223df6352 100644 --- a/app/legacy.go +++ b/app/legacy.go @@ -3,13 +3,16 @@ package app import ( "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/x/authz" icaauthtypes "github.com/crypto-org-chain/cronos/v2/app/legacy/icaauth/types" ) func RegisterLegacyCodec(cdc *codec.LegacyAmino) { icaauthtypes.RegisterCodec(cdc) + authz.RegisterLegacyAminoCodec(cdc) } func RegisterLegacyInterfaces(registry cdctypes.InterfaceRegistry) { icaauthtypes.RegisterInterfaces(registry) + authz.RegisterInterfaces(registry) }