Documentation ¶
Index ¶
- Constants
- func CheckSubArray(txList []types.Tx, subTxList []types.Tx) bool
- func DelimLen(size uint64) int
- func FundKeyringAccounts(accounts ...string) (keyring.Keyring, []banktypes.Balance, []authtypes.GenesisAccount)
- func GenerateAccounts(count int) []string
- func GenerateBlobsWithNamespace(count int, blobSize int, ns appns.Namespace) types.BlobsByNamespace
- func GenerateKeyring(accounts ...string) keyring.Keyring
- func GenerateRandomBlob(dataSize int) types.Blob
- func GenerateRandomBlobOfShareCount(count int) types.Blob
- func GenerateRandomTxs(count, size int) types.Txs
- func GenerateRandomlySizedBlobs(count, maxBlobSize int) []types.Blob
- func GenerateRandomlySizedTxs(count, maxSize int) types.Txs
- func GetRandomSubSlice(size int) (start int, length int)
- func QueryWithoutProof(clientCtx client.Context, hashHexStr string) (*rpctypes.ResultTx, error)
- func RandomAddress() sdk.Address
- func Repeat[T any](s T, count int) []T
Constants ¶
View Source
const ( // nolint:lll TestAccName = "test-account" TestAccMnemo = `` /* 162-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func CheckSubArray ¶
CheckSubArray returns whether subTxList is a subarray of txList
func FundKeyringAccounts ¶
func GenerateAccounts ¶
func GenerateBlobsWithNamespace ¶
GenerateBlobsWithNamespace generates blobs with namespace ns.
func GenerateKeyring ¶
func GenerateRandomBlob ¶
func GenerateRandomBlobOfShareCount ¶
GenerateRandomBlobOfShareCount returns a blob that spans the given number of shares
func GenerateRandomTxs ¶
func GetRandomSubSlice ¶
GetRandomSubSlice returns two integers representing a randomly sized range in the interval [0, size]
func QueryWithoutProof ¶
func RandomAddress ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.