0g-chain/app/genesis.go
2019-07-19 15:06:33 +01:00

14 lines
368 B
Go

package app
import (
"encoding/json"
)
// GenesisState represents the genesis state of the blockchain. It is a map from module names to module genesis states.
type GenesisState map[string]json.RawMessage
// NewDefaultGenesisState generates the default state for the application.
func NewDefaultGenesisState() GenesisState {
return ModuleBasics.DefaultGenesis()
}