mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 06:27:58 +00:00
Fix benchmarks and adds CI to test them (#12068)
* Fix benchmarks and adds CI to test them Instead of waiting for benchmarks failing in Polkadot CI, we also can just test them in Substrate :P * Do not overflow
This commit is contained in:
@@ -228,6 +228,11 @@ impl PalletCmd {
|
||||
let mut component_ranges = HashMap::<(Vec<u8>, Vec<u8>), Vec<ComponentRange>>::new();
|
||||
|
||||
for (pallet, extrinsic, components) in benchmarks_to_run {
|
||||
log::info!(
|
||||
"Starting benchmark: {}::{}",
|
||||
String::from_utf8(pallet.clone()).expect("Encoded from String; qed"),
|
||||
String::from_utf8(extrinsic.clone()).expect("Encoded from String; qed"),
|
||||
);
|
||||
let all_components = if components.is_empty() {
|
||||
vec![Default::default()]
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user