Skip to content
Snippets Groups Projects
Unverified Commit 4987d798 authored by Andrei Sandu's avatar Andrei Sandu Committed by GitHub
Browse files

Add elastic scaling support in ParaInherent BenchBuilder (#3690)


Extracted Benchbuilder enhancements used in
https://github.com/paritytech/polkadot-sdk/pull/3644 . Might still
require some work to fully support all scenarios when disputing elastic
scaling parachains, but it should be useful in writing elastic scaling
runtime tests.

---------

Signed-off-by: default avatarAndrei Sandu <andrei-mihail@parity.io>
parent 7099f6e1
No related merge requests found
Pipeline #455532 passed with stages
in 1 hour, 1 minute, and 37 seconds
This diff is collapsed.
......@@ -65,7 +65,7 @@ benchmarks! {
.collect();
let scenario = BenchBuilder::<T>::new()
.set_backed_and_concluding_cores(cores_with_backed)
.set_backed_and_concluding_paras(cores_with_backed)
.build();
let mut benchmark = scenario.data.clone();
......@@ -110,7 +110,7 @@ benchmarks! {
.collect();
let scenario = BenchBuilder::<T>::new()
.set_backed_and_concluding_cores(cores_with_backed.clone())
.set_backed_and_concluding_paras(cores_with_backed.clone())
.build();
let mut benchmark = scenario.data.clone();
......@@ -165,7 +165,7 @@ benchmarks! {
.collect();
let scenario = BenchBuilder::<T>::new()
.set_backed_and_concluding_cores(cores_with_backed.clone())
.set_backed_and_concluding_paras(cores_with_backed.clone())
.set_code_upgrade(v)
.build();
......
......@@ -64,7 +64,7 @@ mod enter {
)
.set_max_validators_per_core(num_validators_per_core)
.set_dispute_statements(dispute_statements)
.set_backed_and_concluding_cores(backed_and_concluding)
.set_backed_and_concluding_paras(backed_and_concluding)
.set_dispute_sessions(&dispute_sessions[..])
.set_fill_claimqueue(fill_claimqueue);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment