Expand description
Actions that can be performed in tests.
Re-exports§
pub use custom_fcu::BlockReference;
pub use custom_fcu::FinalizeBlock;
pub use custom_fcu::SendForkchoiceUpdate;
pub use engine_api::ExpectedPayloadStatus;
pub use engine_api::SendNewPayload;
pub use engine_api::SendNewPayloads;
pub use fork::CreateFork;
pub use fork::ForkBase;
pub use fork::SetForkBase;
pub use fork::SetForkBaseFromBlockInfo;
pub use fork::ValidateFork;
pub use node_ops::AssertChainTip;
pub use node_ops::CaptureBlockOnNode;
pub use node_ops::CompareNodeChainTips;
pub use node_ops::SelectActiveNode;
pub use node_ops::ValidateBlockTag;
pub use node_ops::WaitForSync;
pub use produce_blocks::AssertMineBlock;
pub use produce_blocks::BroadcastLatestForkchoice;
pub use produce_blocks::BroadcastNextNewPayload;
pub use produce_blocks::CheckPayloadAccepted;
pub use produce_blocks::ExpectFcuStatus;
pub use produce_blocks::GenerateNextPayload;
pub use produce_blocks::GeneratePayloadAttributes;
pub use produce_blocks::PickNextBlockProducer;
pub use produce_blocks::ProduceBlocks;
pub use produce_blocks::ProduceBlocksLocally;
pub use produce_blocks::ProduceInvalidBlocks;
pub use produce_blocks::TestFcuToTag;
pub use produce_blocks::UpdateBlockInfo;
pub use produce_blocks::UpdateBlockInfoToLatestPayload;
pub use produce_blocks::ValidateCanonicalTag;
pub use reorg::ReorgTarget;
pub use reorg::ReorgTo;
pub use reorg::SetReorgTarget;
Modules§
- custom_
fcu - Custom forkchoice update actions for testing specific FCU scenarios.
- engine_
api - Engine API specific actions for testing.
- fork
- Fork creation actions for the e2e testing framework.
- node_
ops - Node-specific operations for multi-node testing.
- produce_
blocks - Block production actions for the e2e testing framework.
- reorg
- Reorg actions for the e2e testing framework.
Structs§
- Action
Box - Simplified action container for storage in tests
- Capture
Block - Action that captures the current block and tags it with a name for later reference
- Make
Canonical - Action that makes the current latest block canonical by broadcasting a forkchoice update
- Sequence
- Run a sequence of actions in series.
Traits§
- Action
- An action that can be performed on an instance.
Functions§
- expect_
fcu_ invalid - Expects that the
ForkchoiceUpdated
response status is INVALID. - expect_
fcu_ not_ syncing_ or_ accepted - Expects that the
ForkchoiceUpdated
response status is not SYNCING and not ACCEPTED. - expect_
fcu_ syncing_ or_ accepted - Expects that the
ForkchoiceUpdated
response status is either SYNCING or ACCEPTED. - expect_
fcu_ valid - Expects that the
ForkchoiceUpdated
response status is VALID. - validate_
fcu_ response - Validates a forkchoice update response and returns an error if invalid