speedtest

package
v0.55.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 1 package

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 NewCmd

func NewCmd(
	createAccount AccountCreator,
	generateTx GenerateTx,
	app servertypes.ABCI,
	cdc codec.Codec,
	defaultGenesis map[string]json.RawMessage,
	chainID string,
	genesisModifiers ...GenesisModifier,
) *cobra.Command

NewCmd returns a command that will run an execution test on your application. Balances and accounts are automatically added to the chain's state via AccountCreator. Your genesis will be modified when instantiating a validator set, so please only modify the genesis by supplying the GenesisModifier argument. IMPORTANT: When testing the limits of your application, use --verify-txs. If you fill up your blocks passed the allowed max gas or max bytes, txs will be ignored, and this can muddy your results. Once you've verified that your configuration is processing completely, you may remove the --verify-txs flag to get cleaner results.

Types

type AccountCreator

type AccountCreator func() (*authtypes.BaseAccount, sdk.Coins)

type GenerateTx

type GenerateTx func() []byte

type GenesisModifier

type GenesisModifier func(codec.Codec, map[string]json.RawMessage)

Jump to

Keyboard shortcuts

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