common

package
v31.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

func (DebugAppOptions) Get

func (DebugAppOptions) Get(o string) any

Get implements AppOptions

Directories

Path Synopsis
Package nullify provides methods to init nil values structs for test assertion.
Package nullify provides methods to init nil values structs for test assertion.

Jump to

Keyboard shortcuts

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