mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-02-18 04:03:06 +00:00
Update for main repo changes - this implied many changes in the testing framework code
removal of DA config-related code that was still present because it was required by node code until now
nomos-da-network-core = { workspace = true }
subnetworks-assignations = { workspace = true }
nomos-da-dispersal = { workspace = true }
nomos-da-network-core = { workspace = true }
nomos-da-network-service = { workspace = true }
nomos-da-sampling = { workspace = true }
nomos-da-verifier = { workspace = true }
nomos-ledger = { workspace = true, features = ["serde"] }
removal of the executor node
logos-blockchain-executor = { workspace = true }
12 lines
411 B
Rust
12 lines
411 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)
|
|
.wallets(1_000)
|
|
.transactions_with(|txs| {
|
|
txs.rate(5) // 5 transactions per block
|
|
.users(500) // Use 500 of the 1,000 wallets
|
|
})
|
|
}
|