genesis

package
v1.2.0-post.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddOracleGenesis added in v0.21.0

func AddOracleGenesis(gen app.GenesisState) app.GenesisState

func AddSudoGenesis added in v0.21.0

func AddSudoGenesis(gen app.GenesisState) (
	genState app.GenesisState,
	rootPrivKey cryptotypes.PrivKey,
	rootAddr sdk.AccAddress,
)

func NewTestGenesisState

func NewTestGenesisState(encodingConfig app.EncodingConfig) app.GenesisState
NewTestGenesisState returns 'NewGenesisState' using the default

genesis as input. The blockchain genesis state is represented as a map from module identifier strings to raw json messages.

func SudoGenesis added in v0.21.0

func SudoGenesis() (
	genState *sudotypes.GenesisState,
	rootPrivKey cryptotypes.PrivKey,
	rootAddr sdk.AccAddress,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL