mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-06 15:23:12 +00:00
16 lines
606 B
Rust
16 lines
606 B
Rust
use testing_framework_core::scenario::{Scenario, ScenarioBuilder};
|
|
use testing_framework_workflows::ScenarioBuilderExt;
|
|
|
|
use crate::SnippetResult;
|
|
|
|
pub fn da_plan() -> SnippetResult<Scenario<()>> {
|
|
ScenarioBuilder::topology_with(|t| t.network_star().validators(1).executors(1))
|
|
.wallets(50)
|
|
.da_with(|da| {
|
|
da.channel_rate(1) // number of DA channels to run
|
|
.blob_rate(2) // target 2 blobs per block (headroom applied)
|
|
.headroom_percent(20) // optional headroom when sizing channels
|
|
}) // Finish DA workload config
|
|
.build()
|
|
}
|