planetmint-go/app/genesis.go
Lorenz Herzberger 3bb8994e41
wip: trying to get machine e2e tests to run
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2024-06-17 12:08:02 +02:00

15 lines
523 B
Go

package app
import (
"encoding/json"
)
// GenesisState of the blockchain is represented here as a map of raw json
// messages key'd by a identifier string.
// The identifier is used to determine which module genesis information belongs
// to so it may be appropriately routed during init chain.
// Within this application default genesis information is retrieved from
// the ModuleBasicManager which populates json from each BasicModule
// object provided to it during init.
type GenesisState map[string]json.RawMessage