mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-17 04:33:08 +00:00
10 lines
370 B
Rust
10 lines
370 B
Rust
use testing_framework_core::scenario::ScenarioBuilder;
|
|
|
|
pub fn step_1_topology() -> testing_framework_core::scenario::Builder<()> {
|
|
ScenarioBuilder::topology_with(|t| {
|
|
t.network_star() // Star topology: all nodes connect to seed
|
|
.validators(1) // 1 validator node
|
|
.executors(1) // 1 executor node (validator + DA dispersal)
|
|
})
|
|
}
|