chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -23,10 +23,10 @@ use pezsp_runtime::traits::BlakeTwo256;
|
||||
/// # Pezkuwi Omni Benchmarking CLI
|
||||
///
|
||||
/// The Pezkuwi Omni benchmarker allows to benchmark the extrinsics of any Pezkuwi runtime. It is
|
||||
/// meant to replace the current manual integration of the `benchmark pezpallet` into every teyrchain
|
||||
/// node. This reduces duplicate code and makes maintenance for builders easier. The CLI is
|
||||
/// currently only able to benchmark extrinsics. In the future it is planned to extend this to some
|
||||
/// other areas.
|
||||
/// meant to replace the current manual integration of the `benchmark pezpallet` into every
|
||||
/// teyrchain node. This reduces duplicate code and makes maintenance for builders easier. The CLI
|
||||
/// is currently only able to benchmark extrinsics. In the future it is planned to extend this to
|
||||
/// some other areas.
|
||||
///
|
||||
/// General FRAME runtimes could also be used with this benchmarker, as long as they don't utilize
|
||||
/// any host functions that are not part of the Pezkuwi host specification.
|
||||
@@ -78,8 +78,8 @@ use pezsp_runtime::traits::BlakeTwo256;
|
||||
///
|
||||
/// ## Backwards Compatibility
|
||||
///
|
||||
/// The exposed pezpallet sub-command is identical as the node-integrated CLI. The only difference is
|
||||
/// that it needs to be prefixed with a `v1` to ensure drop-in compatibility.
|
||||
/// The exposed pezpallet sub-command is identical as the node-integrated CLI. The only difference
|
||||
/// is that it needs to be prefixed with a `v1` to ensure drop-in compatibility.
|
||||
#[derive(Parser, Debug)]
|
||||
#[clap(author, version, about, verbatim_doc_comment)]
|
||||
pub struct Command {
|
||||
|
||||
@@ -26,7 +26,8 @@ use std::{
|
||||
fn benchmark_overhead_runtime_works() -> std::result::Result<(), String> {
|
||||
let tmp_dir = tempfile::tempdir().expect("Should be able to create tmp dir.");
|
||||
let base_path = tmp_dir.path();
|
||||
let wasm = pezcumulus_test_runtime::WASM_BINARY.ok_or("WASM binary not available".to_string())?;
|
||||
let wasm =
|
||||
pezcumulus_test_runtime::WASM_BINARY.ok_or("WASM binary not available".to_string())?;
|
||||
let runtime_path = base_path.join("runtime.wasm");
|
||||
let _ =
|
||||
fs::write(&runtime_path, wasm).map_err(|e| format!("Unable to write runtime file: {}", e));
|
||||
@@ -118,7 +119,8 @@ fn setup_chain_spec(tmp_dir: &Path, raw: bool) -> Result<(PathBuf, PathBuf), Str
|
||||
let base_path = tmp_dir.to_path_buf();
|
||||
let chain_spec_path = base_path.join("chain_spec.json");
|
||||
|
||||
let wasm = pezcumulus_test_runtime::WASM_BINARY.ok_or("WASM binary not available".to_string())?;
|
||||
let wasm =
|
||||
pezcumulus_test_runtime::WASM_BINARY.ok_or("WASM binary not available".to_string())?;
|
||||
|
||||
let mut properties = pezsc_chain_spec::Properties::new();
|
||||
properties.insert("tokenSymbol".into(), "UNIT".into());
|
||||
|
||||
Reference in New Issue
Block a user