Skip to content

Commit

Permalink
register interface
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Apr 18, 2024
1 parent 5667cf6 commit a9dc44b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e2e/txserver/zeta_tx_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import (
"strings"
"time"

lightclienttypes "github.com/zeta-chain/zetacore/x/lightclient/types"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/tx"
Expand Down Expand Up @@ -41,9 +39,11 @@ import (
"github.com/zeta-chain/zetacore/cmd/zetacored/config"
"github.com/zeta-chain/zetacore/pkg/chains"
"github.com/zeta-chain/zetacore/pkg/coin"
authoritytypes "github.com/zeta-chain/zetacore/x/authority/types"
crosschaintypes "github.com/zeta-chain/zetacore/x/crosschain/types"
emissionstypes "github.com/zeta-chain/zetacore/x/emissions/types"
fungibletypes "github.com/zeta-chain/zetacore/x/fungible/types"
lightclienttypes "github.com/zeta-chain/zetacore/x/lightclient/types"
observertypes "github.com/zeta-chain/zetacore/x/observer/types"
)

Expand Down Expand Up @@ -434,6 +434,8 @@ func newCodec() (*codec.ProtoCodec, codectypes.InterfaceRegistry) {
emissionstypes.RegisterInterfaces(interfaceRegistry)
fungibletypes.RegisterInterfaces(interfaceRegistry)
observertypes.RegisterInterfaces(interfaceRegistry)
lightclienttypes.RegisterInterfaces(interfaceRegistry)
authoritytypes.RegisterInterfaces(interfaceRegistry)

return cdc, interfaceRegistry
}
Expand Down

0 comments on commit a9dc44b

Please sign in to comment.