DefaultGenesis returns the module's default genesis state.
(cdc codec.JSONCodec)
| 63 | |
| 64 | // DefaultGenesis returns the module's default genesis state. |
| 65 | func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { |
| 66 | return cdc.MustMarshalJSON(types.DefaultGenesis()) |
| 67 | } |
| 68 | |
| 69 | // ValidateGenesis performs genesis state validation for the module. |
| 70 | func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { |
nothing calls this directly
no test coverage detected