ExportGenesis returns the module's exported genesis state as raw JSON bytes.
(ctx sdk.Context, cdc codec.JSONCodec)
| 132 | |
| 133 | // ExportGenesis returns the module's exported genesis state as raw JSON bytes. |
| 134 | func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { |
| 135 | genState := am.keeper.ExportGenesis(ctx) |
| 136 | return cdc.MustMarshalJSON(genState) |
| 137 | } |
| 138 | |
| 139 | // ConsensusVersion implements ConsensusVersion. |
| 140 | func (AppModule) ConsensusVersion() uint64 { return ConsensusVersion } |
nothing calls this directly
no outgoing calls
no test coverage detected