Documentation
¶
Index ¶
- func CreateRandomAccountsAndPrivKeys(numAccts int) ([]sdk.AccAddress, []cryptotypes.PrivKey)
- func GenerateGenesisAccounts(numAccounts int) []authtypes.GenesisAccount
- func GenerateValidatorSet(n int) *cmttypes.ValidatorSet
- func GenesisStateWithValSet(cdc codec.Codec, genesisState map[string]json.RawMessage, ...) junoapp.GenesisState
- func IsDebugLogEnabled() bool
- type DebugAppOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRandomAccountsAndPrivKeys ¶
func CreateRandomAccountsAndPrivKeys(numAccts int) ([]sdk.AccAddress, []cryptotypes.PrivKey)
CreateRandomAccountsAndPrivKeys is a function return a list of randomly generated AccAddresses and their according private keys.
func GenerateGenesisAccounts ¶
func GenerateGenesisAccounts(numAccounts int) []authtypes.GenesisAccount
GenerateGenesisAccounts creates n genesis accounts.
func GenerateValidatorSet ¶
func GenerateValidatorSet(n int) *cmttypes.ValidatorSet
GenerateValidatorSet creates a ValidatorSet with n validators.
func GenesisStateWithValSet ¶
func GenesisStateWithValSet( cdc codec.Codec, genesisState map[string]json.RawMessage, valSet *cmttypes.ValidatorSet, genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance, ) junoapp.GenesisState
GenesisStateWithValSet creates a genesis state with a validator set.
func IsDebugLogEnabled ¶
func IsDebugLogEnabled() bool
Types ¶
type DebugAppOptions ¶
type DebugAppOptions struct{}
DebugAppOptions is a stub implementing AppOptions
Click to show internal directories.
Click to hide internal directories.