-
Notifications
You must be signed in to change notification settings - Fork 9
/
codec.go
24 lines (21 loc) · 1.06 KB
/
codec.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package types
import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
clienttypes "github.com/bianjieai/tibc-go/modules/tibc/core/02-client/types"
packettypes "github.com/bianjieai/tibc-go/modules/tibc/core/04-packet/types"
commitmenttypes "github.com/bianjieai/tibc-go/modules/tibc/core/23-commitment/types"
routingtypes "github.com/bianjieai/tibc-go/modules/tibc/core/26-routing/types"
ibctmtypes "github.com/bianjieai/tibc-go/modules/tibc/light-clients/07-tendermint/types"
bsctypes "github.com/bianjieai/tibc-go/modules/tibc/light-clients/08-bsc/types"
ethtypes "github.com/bianjieai/tibc-go/modules/tibc/light-clients/09-eth/types"
)
// RegisterInterfaces registers x/ibc interfaces into protobuf Any.
func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
clienttypes.RegisterInterfaces(registry)
packettypes.RegisterInterfaces(registry)
routingtypes.RegisterInterfaces(registry)
ibctmtypes.RegisterInterfaces(registry)
bsctypes.RegisterInterfaces(registry)
ethtypes.RegisterInterfaces(registry)
commitmenttypes.RegisterInterfaces(registry)
}