MCPcopy Create free account
hub / github.com/Sifchain/sifnode / RegisterLegacyAminoCodec

Method RegisterLegacyAminoCodec

x/clp/module.go:39–41  ·  view source on GitHub ↗

RegisterLegacyAminoCodec registers the clp module's types on the given LegacyAmino codec.

(cdc *codec.LegacyAmino)

Source from the content-addressed store, hash-verified

37
38// RegisterLegacyAminoCodec registers the clp module's types on the given LegacyAmino codec.
39func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { //nolint
40 types.RegisterLegacyAminoCodec(cdc)
41}
42
43// RegisterInterfaces registers the module's interface types
44func (b AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry) {

Callers 2

MigrateFunction · 0.45
MakeTestEncodingConfigFunction · 0.45

Calls 1

RegisterLegacyAminoCodecFunction · 0.92

Tested by

no test coverage detected