Skip to content

Commit

Permalink
update(carbon): add ethermint
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTFM committed Nov 23, 2023
1 parent fd594e0 commit ab6fea1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ require (
github.com/Switcheo/carbon v0.0.21-0.20231109105905-4e6a627e547a
github.com/cosmos/cosmos-sdk v0.46.11
github.com/cosmos/ibc-go/v6 v6.1.1
github.com/evmos/ethermint v0.22.0
github.com/gogo/protobuf v1.3.3
github.com/streadway/amqp v1.0.0
github.com/stretchr/testify v1.8.4
Expand Down Expand Up @@ -50,7 +51,6 @@ require (
github.com/edsrzf/mmap-go v1.0.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/ethereum/go-ethereum v1.10.26 // indirect
github.com/evmos/ethermint v0.22.0 // indirect
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-stack/stack v1.8.1 // indirect
Expand Down
2 changes: 2 additions & 0 deletions pkg/codec/protobuf_codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
cosmostypes "github.com/cosmos/cosmos-sdk/types"
ibcexported "github.com/cosmos/ibc-go/v6/modules/core/exported"
ibcclients "github.com/cosmos/ibc-go/v6/modules/light-clients/07-tendermint/types"
ethermintcryptocodec "github.com/evmos/ethermint/crypto/codec"
)

const (
Expand Down Expand Up @@ -44,6 +45,7 @@ func addressConfig() {

func carbonRegisterInterfaces(interfaceRegistry cosmoscodectypes.InterfaceRegistry) {
carbon.ModuleBasics.RegisterInterfaces(interfaceRegistry)
ethermintcryptocodec.RegisterInterfaces(interfaceRegistry)
}

func registerTypes(interfaceRegistry cosmoscodectypes.InterfaceRegistry) { // todo: need to nest. Maybe we can remove it. Old code
Expand Down

0 comments on commit ab6fea1

Please sign in to comment.