snapshot before rebranding
This commit is contained in:
@@ -7,6 +7,8 @@ edition.workspace = true
|
||||
repository.workspace = true
|
||||
license.workspace = true
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/frame-omni-bencher"
|
||||
homepage = { workspace = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -29,12 +31,12 @@ tempfile = { workspace = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pezcumulus-primitives-proof-size-hostfunction/runtime-benchmarks",
|
||||
"pezcumulus-test-runtime/runtime-benchmarks",
|
||||
"pezframe-benchmarking-cli/runtime-benchmarks",
|
||||
"pezsc-chain-spec/runtime-benchmarks",
|
||||
"pezsc-cli/runtime-benchmarks",
|
||||
"pezsp-genesis-builder/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-statement-store/runtime-benchmarks",
|
||||
"pezcumulus-primitives-proof-size-hostfunction/runtime-benchmarks",
|
||||
"pezcumulus-test-runtime/runtime-benchmarks",
|
||||
"pezframe-benchmarking-cli/runtime-benchmarks",
|
||||
"pezsc-chain-spec/runtime-benchmarks",
|
||||
"pezsc-cli/runtime-benchmarks",
|
||||
"pezsp-genesis-builder/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-statement-store/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -119,7 +119,7 @@ pub struct V1BenchmarkCommand {
|
||||
|
||||
type HostFunctions = (
|
||||
pezsp_statement_store::runtime_api::HostFunctions,
|
||||
cumulus_primitives_proof_size_hostfunction::storage_proof_size::HostFunctions,
|
||||
pezcumulus_primitives_proof_size_hostfunction::storage_proof_size::HostFunctions,
|
||||
);
|
||||
|
||||
impl Command {
|
||||
|
||||
@@ -26,7 +26,7 @@ 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 = cumulus_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 +118,7 @@ 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 = cumulus_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