fix(ci): resolve all quick-checks failures

- Remove missing cli crate from workspace members
- Fix TOML array syntax errors in pvf and benchmarking-cli Cargo.toml
- Fix Rust import ordering with cargo fmt
- Fix feature propagation with zepter (try-runtime, runtime-benchmarks, std)
This commit is contained in:
2026-01-04 17:21:57 +03:00
parent 933f08e282
commit 479010094e
574 changed files with 1465 additions and 2447 deletions
@@ -45,10 +45,8 @@ pretty_assertions = { workspace = true }
regex = { workspace = true }
[features]
default = ["std"]
std = [
"pezsp-crypto-hashing/std",
]
default = [ "std" ]
std = [ "pezsp-crypto-hashing/std" ]
no-metadata-docs = []
experimental = []
# Generate impl-trait for tuples with the given number of tuples. Will be needed as the number of
@@ -646,8 +646,7 @@ mod tests {
let path = syn::parse2::<syn::Path>(quote::quote!(pezframe_system::Config)).unwrap();
let pezframe_system =
syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system))
.unwrap();
syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system)).unwrap();
assert!(has_expected_system_config(path.clone(), &pezframe_system));
let pezframe_system =
@@ -658,70 +657,56 @@ mod tests {
#[test]
fn has_expected_system_config_works_with_frame_full_path() {
let pezframe_system =
syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system))
.unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(
pezframe::deps::pezframe_system::Config
))
.unwrap();
syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system)).unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system::Config))
.unwrap();
assert!(has_expected_system_config(path, &pezframe_system));
let pezframe_system =
syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system)).unwrap();
let path =
syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system::Config)).unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system::Config))
.unwrap();
assert!(has_expected_system_config(path, &pezframe_system));
}
#[test]
fn has_expected_system_config_works_with_other_frame_full_path() {
let pezframe_system =
syn::parse2::<syn::Path>(quote::quote!(pezframe::xyz::pezframe_system))
.unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(
pezframe::xyz::pezframe_system::Config
))
.unwrap();
syn::parse2::<syn::Path>(quote::quote!(pezframe::xyz::pezframe_system)).unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(pezframe::xyz::pezframe_system::Config))
.unwrap();
assert!(has_expected_system_config(path, &pezframe_system));
let pezframe_system =
syn::parse2::<syn::Path>(quote::quote!(pezframe::xyz::pezframe_system)).unwrap();
let path =
syn::parse2::<syn::Path>(quote::quote!(pezframe::xyz::pezframe_system::Config)).unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(pezframe::xyz::pezframe_system::Config))
.unwrap();
assert!(has_expected_system_config(path, &pezframe_system));
}
#[test]
fn has_expected_system_config_does_not_works_with_mixed_frame_full_path() {
let pezframe_system =
syn::parse2::<syn::Path>(quote::quote!(pezframe::xyz::pezframe_system))
.unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(
pezframe::deps::pezframe_system::Config
))
.unwrap();
syn::parse2::<syn::Path>(quote::quote!(pezframe::xyz::pezframe_system)).unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system::Config))
.unwrap();
assert!(!has_expected_system_config(path, &pezframe_system));
}
#[test]
fn has_expected_system_config_does_not_works_with_other_mixed_frame_full_path() {
let pezframe_system =
syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system))
.unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(
pezframe::xyz::pezframe_system::Config
))
.unwrap();
syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system)).unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(pezframe::xyz::pezframe_system::Config))
.unwrap();
assert!(!has_expected_system_config(path, &pezframe_system));
}
#[test]
fn has_expected_system_config_does_not_work_with_frame_full_path_if_not_frame_crate() {
let pezframe_system = syn::parse2::<syn::Path>(quote::quote!(pezframe_system)).unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(
pezframe::deps::pezframe_system::Config
))
.unwrap();
let path = syn::parse2::<syn::Path>(quote::quote!(pezframe::deps::pezframe_system::Config))
.unwrap();
assert!(!has_expected_system_config(path, &pezframe_system));
}