Skip to content

Commit

Permalink
fix(realio): add missing ethermint types
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTFM committed Nov 28, 2023
1 parent bc52443 commit 3af9e4c
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 @@ -14,7 +14,6 @@ require (
github.com/cosmos/cosmos-sdk v0.46.11
github.com/cosmos/ibc-go/v6 v6.1.1
github.com/evmos/ethermint v0.21.0
github.com/gogo/protobuf v1.3.3
github.com/realiotech/realio-network v0.8.3
github.com/streadway/amqp v1.0.0
github.com/stretchr/testify v1.8.4
Expand Down Expand Up @@ -75,6 +74,7 @@ require (
github.com/go-stack/stack v1.8.0 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
github.com/gogo/gateway v1.1.0 // indirect
github.com/gogo/protobuf v1.3.3 // indirect
github.com/golang/glog v1.1.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // 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 @@ -11,6 +11,7 @@ import (
ibcclients "github.com/cosmos/ibc-go/v6/modules/light-clients/07-tendermint/types"

ethermintcryptocodec "github.com/evmos/ethermint/crypto/codec"
etherminttypes "github.com/evmos/ethermint/types"
realio "github.com/realiotech/realio-network/app"
)

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

func realioRegisterInterfaces(interfaceRegistry cosmoscodectypes.InterfaceRegistry) {
realio.ModuleBasics.RegisterInterfaces(interfaceRegistry)
etherminttypes.RegisterInterfaces(interfaceRegistry)
ethermintcryptocodec.RegisterInterfaces(interfaceRegistry)
}

Expand Down

0 comments on commit 3af9e4c

Please sign in to comment.