Module produce_blocks

Module produce_blocks 

Source
Expand description

Block production actions for the e2e testing framework.

Structs§

AssertMineBlock
Mine a single block with the given transactions and verify the block was created successfully.
BroadcastLatestForkchoice
Action that broadcasts the latest fork choice state to all clients
BroadcastNextNewPayload
Action that broadcasts the next new payload
CheckPayloadAccepted
Action that checks whether the broadcasted new payload has been accepted
ExpectFcuStatus
Action to expect a specific FCU status when targeting a tagged block
GenerateNextPayload
Action that generates the next payload
GeneratePayloadAttributes
Store payload attributes for the next block.
PickNextBlockProducer
Pick the next block producer based on the latest block information.
ProduceBlocks
Action that produces a sequence of blocks using the available clients
ProduceBlocksLocally
Action that produces blocks locally without broadcasting to other nodes This sends the payload only to the active node to ensure it’s available locally
ProduceInvalidBlocks
Action that produces a sequence of blocks where some blocks are intentionally invalid
TestFcuToTag
Action to test forkchoice update to a tagged block with expected status
UpdateBlockInfo
Action that syncs environment state with the node’s canonical chain via RPC.
UpdateBlockInfoToLatestPayload
Action that updates environment state using the locally produced payload.
ValidateCanonicalTag
Action to validate that a tagged block remains canonical by performing FCU to it