fix: correct feature gates for storage-benchmark and metadata-hash

- StorageCmd: change cfg from runtime-benchmarks to storage-benchmark
- enable_metadata_hash_in_wasm_builder: add cfg(feature = "metadata-hash") gate
- Add storage-benchmark feature to pezkuwi-omni-node-lib Cargo.toml
- Add metadata-hash feature to pezframe-metadata-hash-extension Cargo.toml

These fixes resolve cargo-check-all-benches CI failures.
This commit is contained in:
2026-01-25 23:03:06 +03:00
parent 77b6f31738
commit ff5e45f904
5 changed files with 9 additions and 4 deletions
@@ -66,3 +66,4 @@ serde = []
experimental = []
with-tracing = []
tuples-96 = []
metadata-hash = ["bizinikiwi-wasm-builder/metadata-hash"]
@@ -172,6 +172,9 @@ mod docs {
type PalletInfo = add_metadata_hash_extension::PalletInfo;
}
/// This function demonstrates how to enable metadata hash in WasmBuilder.
/// It is only available when the `metadata-hash` feature is enabled on `bizinikiwi-wasm-builder`.
#[cfg(feature = "metadata-hash")]
#[docify::export]
fn enable_metadata_hash_in_wasm_builder() {
bizinikiwi_wasm_builder::WasmBuilder::init_with_defaults()