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