mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-09 00:33:11 +00:00
15 lines
534 B
Rust
15 lines
534 B
Rust
|
|
use std::time::Duration;
|
||
|
|
|
||
|
|
use testing_framework_core::scenario::ScenarioBuilder;
|
||
|
|
use testing_framework_workflows::ScenarioBuilderExt;
|
||
|
|
|
||
|
|
pub fn scenario_plan() -> testing_framework_core::scenario::Scenario<()> {
|
||
|
|
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()
|
||
|
|
}
|