encoding: fix test (#64)

This commit is contained in:
Federico Kunze
2021-06-04 09:45:37 -04:00
committed by GitHub
parent 475c61851c
commit 9509e18842
7 changed files with 15 additions and 12 deletions
+3 -3
View File
@@ -5,6 +5,8 @@ import (
"os"
"testing"
"github.com/cosmos/ethermint/crypto/ethsecp256k1"
enccodec "github.com/cosmos/ethermint/encoding/codec"
ethermint "github.com/cosmos/ethermint/types"
"github.com/stretchr/testify/suite"
@@ -28,8 +30,6 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
ethcodec "github.com/cosmos/ethermint/codec"
"github.com/cosmos/ethermint/crypto/ethsecp256k1"
)
func newTestCodec() (codec.BinaryMarshaler, *codec.LegacyAmino) {
@@ -39,7 +39,7 @@ func newTestCodec() (codec.BinaryMarshaler, *codec.LegacyAmino) {
sdk.RegisterLegacyAminoCodec(amino)
ethcodec.RegisterInterfaces(interfaceRegistry)
enccodec.RegisterInterfaces(interfaceRegistry)
return cdc, amino
}