Documentation
¶
Index ¶
- func CreateRandomAccounts(numAccts int) []sdk.AccAddress
- func GenerateGenesisAccounts(numAccounts int) []authtypes.GenesisAccount
- func GenerateTestAddrs() (string, string)
- func GenerateValidatorSet(n int) *cmttypes.ValidatorSet
- func GenesisStateWithValSet(codec 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 CreateRandomAccounts ¶
func CreateRandomAccounts(numAccts int) []sdk.AccAddress
CreateRandomAccounts is a function return a list of randomly generated AccAddresses
func GenerateGenesisAccounts ¶
func GenerateGenesisAccounts(numAccounts int) []authtypes.GenesisAccount
GenerateGenesisAccounts creates n genesis accounts.
func GenerateTestAddrs ¶
These are for testing msg.ValidateBasic() functions which need to validate for valid/invalid addresses. Should not be used for anything else because these addresses are totally uninterpretable (100% random).
func GenerateValidatorSet ¶
func GenerateValidatorSet(n int) *cmttypes.ValidatorSet
GenerateValidatorSet creates a ValidatorSet with n validators.
func GenesisStateWithValSet ¶
func GenesisStateWithValSet( codec 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
func (DebugAppOptions) Get ¶
func (ao DebugAppOptions) Get(o string) interface{}
Get implements AppOptions
Click to show internal directories.
Click to hide internal directories.