MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / ExportGenesisFile

Function ExportGenesisFile

oce/utils.go:14–29  ·  view source on GitHub ↗

ExportGenesisFile creates and writes the genesis configuration to disk. An error is returned if building or writing the configuration to file fails.

(
	genFile, chainID string, validators []types.GenesisValidator, appState json.RawMessage,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

InitCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected