logos-blockchain-testing/examples/doc-snippets/src/dsl_cheat_sheet_expectations.rs
hansieodendaal 85b2854cae
update for main repo changes
- removal of DA
- removal of executor node
2026-01-24 14:27:35 +02:00

11 lines
378 B
Rust

use testing_framework_core::scenario::{Scenario, ScenarioBuilder};
use testing_framework_workflows::ScenarioBuilderExt;
use crate::SnippetResult;
pub fn expectations_plan() -> SnippetResult<Scenario<()>> {
ScenarioBuilder::topology_with(|t| t.network_star().validators(1))
.expect_consensus_liveness() // Assert blocks are produced continuously
.build()
}