FAZ 1 Complete: Workspace compile fixes, warning cleanup, version bumps
- Fixed is_using_frame_crate() macro to check for pezframe/pezkuwi_sdk - Removed disable_pezframe_system_supertrait_check temporary bypasses - Feature-gated storage-benchmark and teyrchain-benchmarks code - Fixed dead_code warnings with underscore prefix (_Header) - Removed unused imports and shadowing use statements - Version bumps: procedural-tools 10.0.1, benchmarking-cli 32.0.1, docs 0.0.2, minimal-runtime 0.0.1, yet-another-teyrchain 0.6.1, umbrella 0.1.2 - Updated MAINNET_ROADMAP.md with FAZ 1 completion status
This commit is contained in:
@@ -34,6 +34,9 @@ teyrchain-template-runtime = { workspace = true }
|
||||
# Bizinikiwi
|
||||
prometheus-endpoint = { workspace = true, default-features = true }
|
||||
|
||||
# For storage benchmarks
|
||||
pezframe-benchmarking-cli = { workspace = true, optional = true }
|
||||
|
||||
[build-dependencies]
|
||||
pezkuwi-sdk = { workspace = true, features = ["bizinikiwi-build-script-utils"] }
|
||||
|
||||
@@ -50,6 +53,7 @@ runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"teyrchain-template-runtime/runtime-benchmarks",
|
||||
]
|
||||
storage-benchmark = ["pezframe-benchmarking-cli/storage-benchmark"]
|
||||
try-runtime = [
|
||||
"pezkuwi-sdk/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
|
||||
@@ -205,13 +205,7 @@ pub fn run() -> Result<()> {
|
||||
let partials = new_partial(&config)?;
|
||||
cmd.run(partials.client)
|
||||
}),
|
||||
#[cfg(not(feature = "runtime-benchmarks"))]
|
||||
BenchmarkCmd::Storage(_) => Err(pezsc_cli::Error::Input(
|
||||
"Compile with --features=runtime-benchmarks \
|
||||
to enable storage benchmarks."
|
||||
.into(),
|
||||
)),
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
#[cfg(feature = "storage-benchmark")]
|
||||
BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| {
|
||||
let partials = new_partial(&config)?;
|
||||
let db = partials.backend.expose_db();
|
||||
|
||||
Reference in New Issue
Block a user