test

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTestNamespace = namespace.MustNewV0([]byte("test"))

Functions

func DecodeMockPFB

func DecodeMockPFB(pfb []byte) ([]uint32, error)

func GenerateBlobTx

func GenerateBlobTx(blobSizes []int) []byte

func GenerateBlobTxWithNamespace

func GenerateBlobTxWithNamespace(namespaces []namespace.Namespace, blobSizes []int) []byte

func GenerateBlobTxs

func GenerateBlobTxs(numTxs, blobsPerPfb, blobSize int) [][]byte

func GenerateBlobs added in v1.1.1

func GenerateBlobs(blobSizes ...int) []*blob.Blob

func GenerateRandomTx

func GenerateRandomTx(minSize, maxSize int) []byte

func GenerateTxs

func GenerateTxs(minSize, maxSize, numTxs int) [][]byte

func MockPFB

func MockPFB(blobSizes []uint32) []byte

func RandomBytes

func RandomBytes(size int) []byte

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