2018-11-28 22:19:22 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
import "github.com/cosmos/cosmos-sdk/codec"
|
|
|
|
|
|
|
|
var msgCodec = codec.New()
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
cdc := codec.New()
|
|
|
|
|
|
|
|
RegisterCodec(cdc)
|
|
|
|
codec.RegisterCrypto(cdc)
|
|
|
|
|
|
|
|
msgCodec = cdc.Seal()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Register concrete types and interfaces on the given codec.
|
|
|
|
func RegisterCodec(cdc *codec.Codec) {
|
2018-12-18 16:10:04 +00:00
|
|
|
cdc.RegisterConcrete(&EthereumTxMsg{}, "ethermint/MsgEthereumTx", nil)
|
2018-11-28 22:19:22 +00:00
|
|
|
}
|