Skip to content

Commit

Permalink
add authz
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Dec 5, 2024
1 parent 5866715 commit 0f3c773
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 0f3c773

Please sign in to comment.