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) }