testfactory

package
v0.13.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// nolint:lll
	TestAccName = "test-account"
)

Variables

This section is empty.

Functions

func FundKeyringAccounts

func FundKeyringAccounts(cdc codec.Codec, accounts ...string) (keyring.Keyring, []banktypes.Balance, []authtypes.GenesisAccount)

func GenerateAccounts

func GenerateAccounts(count int) []string

func GenerateBlobsWithNamespace

func GenerateBlobsWithNamespace(count, blobSize int, nID nmtnamespace.ID) types.BlobsByNamespace

GenerateBlobsWithNamespace generates blobs with namespace ID `nID`.

func GenerateKeyring

func GenerateKeyring(accounts ...string) keyring.Keyring

func GenerateRandomBlob

func GenerateRandomBlob(size int) types.Blob

func GenerateRandomTxs

func GenerateRandomTxs(count, size int) types.Txs

func GenerateRandomlySizedBlobs

func GenerateRandomlySizedBlobs(count, maxBlobSize int) []types.Blob

func GenerateRandomlySizedTxs

func GenerateRandomlySizedTxs(count, maxSize int) types.Txs

func QueryWithoutProof

func QueryWithoutProof(clientCtx client.Context, hashHexStr string) (*rpctypes.ResultTx, error)

func RandomAddress

func RandomAddress() sdk.Address

func Repeat

func Repeat[T any](s T, count int) []T

Types

This section is empty.

Jump to

Keyboard shortcuts

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