mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-23 23:53:11 +00:00
17 lines
661 B
Rust
17 lines
661 B
Rust
|
|
use testing_framework_core::scenario::ScenarioBuilder;
|
||
|
|
use testing_framework_workflows::ScenarioBuilderExt;
|
||
|
|
|
||
|
|
pub fn step_3_workloads() -> testing_framework_core::scenario::Builder<()> {
|
||
|
|
ScenarioBuilder::with_node_counts(1, 1)
|
||
|
|
.wallets(1_000)
|
||
|
|
.transactions_with(|txs| {
|
||
|
|
txs.rate(5) // 5 transactions per block
|
||
|
|
.users(500) // Use 500 of the 1,000 wallets
|
||
|
|
})
|
||
|
|
.da_with(|da| {
|
||
|
|
da.channel_rate(1) // 1 DA channel (more spawned with headroom)
|
||
|
|
.blob_rate(1) // target 1 blob per block
|
||
|
|
.headroom_percent(20) // default headroom when sizing channels
|
||
|
|
})
|
||
|
|
}
|