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

Function NewDefaultGenesisState

app/genesis.go:32–34  ·  view source on GitHub ↗

NewDefaultGenesisState generates the default state for the application.

(cdc codec.Codec)

Source from the content-addressed store, hash-verified

30
31// NewDefaultGenesisState generates the default state for the application.
32func NewDefaultGenesisState(cdc codec.Codec) GenesisState {
33 return ModuleBasics().DefaultGenesis(cdc)
34}
35
36func GenesisStateWithValSet(cdc codec.Codec) GenesisState {
37 privVal := mock.NewPV()

Callers 4

NewTestNetworkFixtureFunction · 0.92
DefaultConfigFunction · 0.92
SetupFunction · 0.85
GenesisStateWithValSetFunction · 0.85

Calls 2

ModuleBasicsFunction · 0.85
DefaultGenesisMethod · 0.45

Tested by

no test coverage detected