mesg-foundation/core

View on GitHub
x/instance/internal/types/codec.go

Summary

Maintainability
A
0 mins
Test Coverage
package types

import (
    "github.com/cosmos/cosmos-sdk/codec"
)

// RegisterCodec registers concrete types on codec
func RegisterCodec(cdc *codec.Codec) {}

// ModuleCdc defines the module codec
var ModuleCdc *codec.Codec

func init() {
    ModuleCdc = codec.New()
    RegisterCodec(ModuleCdc)
    codec.RegisterCrypto(ModuleCdc)
    ModuleCdc.Seal()
}