# Functions
No description provided by the author
CompleteExecutionReceiptChainFixture is a test fixture that creates a chain of blocks of size `count`.
ContainerBlockFixture builds and returns a block that contains input execution receipts.
No description provided by the author
EvenChunkIndexAssigner is a helper function that returns true for the even indices in [0, chunkNum-1] It also returns true if the index corresponds to the system chunk.
ExecutionReceiptsFromParentBlockFixture creates a chain of receipts from a parent block.
ExecutionResultFixture is a test helper that returns an execution result for the reference block header as well as the execution receipt data for that result.
ExecutionResultForkFixture creates two conflicting execution results out of the same block ID.
ExecutionResultFromParentBlockFixture is a test helper that creates a child (reference) block from the parent, as well as an execution for it.
ExtendStateWithFinalizedBlocks is a test helper to extend the execution state and return the list of blocks.
No description provided by the author
MockChunkAssignmentFixture is a test helper that mocks a chunk assigner for a set of verification nodes for the execution results in the given complete execution receipts, and based on the given chunk assigner function.
MockLastSealedHeight mocks the protocol state for the specified last sealed height.
No description provided by the author
RespondChunkDataPackRequestAfterNTrials only qualifies a chunk data request for reply by chunk data provider after n times.
RespondChunkDataPackRequestImmediately immediately qualifies a chunk data request for reply by chunk data provider.
SetupChunkDataPackProvider creates and returns an execution node that only has a chunk data pack provider engine.
SetupMockConsensusNode creates and returns a mock consensus node (conIdentity) and its registered engine in the network (hub).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
CompleteExecutionReceipt is a test helper struct that represents a container block accompanied with all data required to verify its execution receipts.
CompleteExecutionReceiptBuilder is a test helper struct that specifies the parameters to build a CompleteExecutionReceipt.
ExecutionReceiptData is a test helper struct that represents all data required to verify the result of an execution receipt.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
MockChunkDataProviderFunc is a test helper function encapsulating the logic of whether to reply a chunk data pack request.