logos-blockchain-testing/examples/doc-snippets/src/quickstart_step_4_expectation.rs
2025-12-16 06:55:44 +01:00

7 lines
333 B
Rust

use testing_framework_core::scenario::ScenarioBuilder;
use testing_framework_workflows::ScenarioBuilderExt;
pub fn step_4_expectation() -> testing_framework_core::scenario::Builder<()> {
ScenarioBuilder::with_node_counts(1, 1).expect_consensus_liveness() // This says what success means: blocks must be produced continuously.
}