mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-04 14:23:09 +00:00
10 lines
331 B
Rust
10 lines
331 B
Rust
use testing_framework_core::scenario::{Builder, ScenarioBuilder};
|
|
|
|
pub fn topology() -> Builder<()> {
|
|
ScenarioBuilder::topology_with(|t| {
|
|
t.network_star() // Star topology (all connect to seed node)
|
|
.validators(3) // Number of validator nodes
|
|
.executors(2) // Number of executor nodes
|
|
})
|
|
}
|