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