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
@@ -1,4 +1,4 @@
package encoding
package codec
import (
"github.com/cosmos/cosmos-sdk/codec"
+3 -2
View File
@@ -11,6 +11,7 @@ import (
ethtypes "github.com/ethereum/go-ethereum/core/types"
enccodec "github.com/cosmos/ethermint/encoding/codec"
evmtypes "github.com/cosmos/ethermint/x/evm/types"
)
@@ -27,9 +28,9 @@ func MakeConfig(mb module.BasicManager) params.EncodingConfig {
Amino: cdc,
}
RegisterLegacyAminoCodec(encodingConfig.Amino)
enccodec.RegisterLegacyAminoCodec(encodingConfig.Amino)
mb.RegisterLegacyAminoCodec(encodingConfig.Amino)
RegisterInterfaces(encodingConfig.InterfaceRegistry)
enccodec.RegisterInterfaces(encodingConfig.InterfaceRegistry)
mb.RegisterInterfaces(encodingConfig.InterfaceRegistry)
return encodingConfig
}