Documentation ¶
Index ¶
- func GenerateTestBlock(t *testing.T, blobSize, numberOfTransactions int) ([]*types.MsgPayForBlobs, []*types.Blob, []namespace.Namespace, ...)
- func RandByzantineEDS(t testing.TB, size int, options ...nmt.Option) *rsmt2d.ExtendedDataSquare
- func RandEDS(t testing.TB, size int) *rsmt2d.ExtendedDataSquare
- func RandEDSWithNamespace(t testing.TB, namespace share.Namespace, size int) (*rsmt2d.ExtendedDataSquare, *share.Root)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTestBlock ¶ added in v0.15.0
func GenerateTestBlock( t *testing.T, blobSize, numberOfTransactions int, ) ( []*types.MsgPayForBlobs, []*types.Blob, []namespace.Namespace, *rsmt2d.ExtendedDataSquare, coretypes.Txs, *da.DataAvailabilityHeader, []byte, )
GenerateTestBlock generates a set of test blocks with a specific blob size and number of transactions
func RandByzantineEDS ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.