snowbridge_pallet_inbound_queue_v2/weights.rs
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
3//! Autogenerated weights for `snowbridge_inbound_queue`
4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-07-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
8//! HOSTNAME: `macbook pro 14 m2`, CPU: `m2-arm64`
9//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-rococo-dev"), DB CACHE: 1024
10
11#![cfg_attr(rustfmt, rustfmt_skip)]
12#![allow(unused_parens)]
13#![allow(unused_imports)]
14
15use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
16use sp_std::marker::PhantomData;
17
18/// Weight functions needed for ethereum_beacon_client.
19pub trait WeightInfo {
20 fn submit() -> Weight;
21}
22
23// For backwards compatibility and tests
24impl WeightInfo for () {
25 fn submit() -> Weight {
26 // Proof Size summary in bytes:
27 // Measured: `309`
28 // Estimated: `3774`
29 // Minimum execution time: 59_000_000 picoseconds.
30 Weight::from_parts(60_000_000, 0)
31 .saturating_add(Weight::from_parts(0, 3774))
32 .saturating_add(RocksDbWeight::get().reads(7))
33 .saturating_add(RocksDbWeight::get().writes(2))
34 }
35}
36