2025-12-16 06:55:44 +01:00
|
|
|
use std::time::Duration;
|
|
|
|
|
|
2025-12-18 22:48:45 +01:00
|
|
|
use testing_framework_core::scenario::{Scenario, ScenarioBuilder};
|
2025-12-16 06:55:44 +01:00
|
|
|
use testing_framework_workflows::ScenarioBuilderExt;
|
|
|
|
|
|
2025-12-18 22:48:45 +01:00
|
|
|
use crate::SnippetResult;
|
|
|
|
|
|
|
|
|
|
pub fn scenario_plan() -> SnippetResult<Scenario<()>> {
|
2025-12-16 06:55:44 +01:00
|
|
|
ScenarioBuilder::topology_with(|t| t.network_star().validators(3).executors(2))
|
|
|
|
|
.wallets(50)
|
|
|
|
|
.transactions_with(|txs| txs.rate(5).users(20))
|
|
|
|
|
.da_with(|da| da.channel_rate(1).blob_rate(2))
|
|
|
|
|
.expect_consensus_liveness()
|
|
|
|
|
.with_run_duration(Duration::from_secs(90))
|
|
|
|
|
.build()
|
|
|
|
|
}
|