MCPcopy Create free account
hub / github.com/akash-network/node / DefaultGenesis

Method DefaultGenesis

x/bme/module.go:72–74  ·  view source on GitHub ↗

DefaultGenesis returns default genesis state as raw bytes for the bme module.

(cdc codec.JSONCodec)

Source from the content-addressed store, hash-verified

70
71// DefaultGenesis returns default genesis state as raw bytes for the bme module.
72func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage {
73 return cdc.MustMarshalJSON(types.DefaultGenesisState())
74}
75
76// ValidateGenesis validation check of the Genesis
77func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error {

Callers 3

SetupWithConfigurationFunction · 0.45
initGenFilesFunction · 0.45
NewDefaultGenesisStateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected