3ddf58cef9
- Fix pezpallet-welati EnsureOrigin implementations (3 fixes)
- Remove incorrect #[cfg(not(feature = "runtime-benchmarks"))] blocks
- Affects EnsureSerok, EnsureParlementer, EnsureDiwan
- Fix asset-hub-zagros governance origins macros (2 fixes)
- Remove non-benchmark try_successful_origin from decl_unit_ensures!
- Remove non-benchmark try_successful_origin from decl_ensure!
- Rename snowbridge -> pezsnowbridge for consistency
- Update WORKFLOW_PLAN.md with build status and package names
- Correct package names: pezkuwi-teyrchain-bin, pezstaging-node-cli
- Mark completed builds: pezkuwi, pezkuwi-teyrchain-bin,
pezstaging-node-cli, teyrchain-template-node
61 lines
1.8 KiB
Rust
61 lines
1.8 KiB
Rust
|
|
//! Autogenerated weights for `snowbridge_system`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev
|
|
//! DATE: 2023-10-09, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `crake.local`, CPU: `<UNKNOWN>`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("bridge-hub-pezkuwichain-dev")`, DB CACHE: `1024`
|
|
|
|
// Executed Command:
|
|
// target/release/pezkuwi-teyrchain
|
|
// benchmark
|
|
// pezpallet
|
|
// --chain
|
|
// bridge-hub-pezkuwichain-dev
|
|
// --pezpallet=snowbridge_system
|
|
// --extrinsic=*
|
|
// --execution=wasm
|
|
// --wasm-execution=compiled
|
|
// --template
|
|
// ../teyrchain/templates/module-weight-template.hbs
|
|
// --output
|
|
// ../teyrchain/pallets/control/src/weights.rs
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
#![allow(missing_docs)]
|
|
|
|
use pezframe_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
|
use core::marker::PhantomData;
|
|
|
|
/// Weight functions needed for `snowbridge_system`.
|
|
pub trait WeightInfo {
|
|
fn register_token() -> Weight;
|
|
fn add_tip() -> Weight;
|
|
}
|
|
|
|
// For backwards compatibility and tests.
|
|
impl WeightInfo for () {
|
|
fn register_token() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `256`
|
|
// Estimated: `6044`
|
|
// Minimum execution time: 45_000_000 picoseconds.
|
|
Weight::from_parts(45_000_000, 6044)
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
|
|
fn add_tip() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `256`
|
|
// Estimated: `6044`
|
|
// Minimum execution time: 45_000_000 picoseconds.
|
|
Weight::from_parts(45_000_000, 6044)
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
}
|