mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
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: Andrei Sandu <andrei-mihail@parity.io>
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user