Crate tempo_e2e

Crate tempo_e2e 

Source
Expand description

e2e tests using the [commonware_runtime::deterministic].

This crate mimics how a full tempo node is run in production but runs the consensus engine in a deterministic runtime while maintaining a tokio async environment to launch execution nodes.

All definitions herein are only intended to support the the tests defined in tests/.

Re-exports§

pub use execution_runtime::ExecutionNodeConfig;
pub use execution_runtime::ExecutionRuntime;
pub use testing_node::TestingNode;

Modules§

execution_runtime
The environment to launch tempo execution nodes in.
testing_node
A testing node that can start and stop both consensus and execution layers.

Structs§

Setup
The test setup run by run.

Constants§

CONSENSUS_NODE_PREFIX
EXECUTION_NODE_PREFIX

Functions§

get_pipeline_runs
Get the number of pipeline runs from the Prometheus metrics recorder
link_validators
Links (or unlinks) validators using the oracle.
run
Runs a test configured by Setup.
setup_validators
Sets up validators and returns the nodes and execution runtime.