69333ec1b3
* Fixed circleci config and fixed linting warnings * Updated circleCI for go version 1.12 and split jobs for build/testing * updated go version to 1.12.5 for circleCI * Go mod tidy dependencies * Updated linting tools and cleared up code lint smells * Added workflow to run build and test jobs * Moved linting command to build workflow * Get dependencies before linting by default * Added go module flag to linter and increased deadline to pull packages
20 lines
387 B
Go
20 lines
387 B
Go
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()
|
|
}
|
|
|
|
// RegisterCodec registers concrete types and interfaces on the given codec.
|
|
func RegisterCodec(cdc *codec.Codec) {
|
|
cdc.RegisterConcrete(&EthereumTxMsg{}, "ethermint/MsgEthereumTx", nil)
|
|
}
|