0g-chain/app/genesis.go
rhuairahrighairigh 3bf82e9ee9 update app and cmd
2019-09-25 15:50:03 -04: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()
}