mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
14 lines
368 B
Go
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()
|
|
}
|