Files
wasmd/app/genesis.go
2020-10-27 15:01:22 +01:00

15 lines
373 B
Go

package app
import (
"encoding/json"
)
// GenesisState defines a type alias for the Gaia genesis application state.
type GenesisState map[string]json.RawMessage
// NewDefaultGenesisState generates the default state for the application.
func NewDefaultGenesisState() GenesisState {
encCfg := MakeEncodingConfig()
return ModuleBasics.DefaultGenesis(encCfg.Marshaler)
}