DefaultGenesis returns default genesis state as raw bytes for the clp module.
(cdc codec.JSONCodec)
| 48 | // DefaultGenesis returns default genesis state as raw bytes for the clp |
| 49 | // module. |
| 50 | func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { |
| 51 | return cdc.MustMarshalJSON(types.DefaultGenesisState()) |
| 52 | } |
| 53 | |
| 54 | // ValidateGenesis performs genesis state validation for the clp module. |
| 55 | func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { |