shiden_runtime/weights/
pallet_transaction_payment.rs

1
2// This file is part of Astar.
3
4// Copyright (C) Stake Technologies Pte.Ltd.
5// SPDX-License-Identifier: GPL-3.0-or-later
6
7// Astar is free software: you can redistribute it and/or modify
8// it under the terms of the GNU General Public License as published by
9// the Free Software Foundation, either version 3 of the License, or
10// (at your option) any later version.
11
12// Astar is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15// GNU General Public License for more details.
16
17// You should have received a copy of the GNU General Public License
18// along with Astar. If not, see <http://www.gnu.org/licenses/>.
19
20//! Autogenerated weights for `pallet_transaction_payment`
21//!
22//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
23//! DATE: 2025-12-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
24//! WORST CASE MAP SIZE: `1000000`
25//! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz`
26//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
27
28// Executed Command:
29// frame-omni-bencher
30// v1
31// benchmark
32// pallet
33// --runtime=./target/release/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm
34// --steps=50
35// --repeat=20
36// --pallet=pallet_transaction_payment
37// --extrinsic=*
38// --wasm-execution=compiled
39// --heap-pages=4096
40// --output=./benchmark-results/shiden/runtime/transaction_payment_weights.rs
41// --template=./scripts/templates/runtime-weight-template.hbs
42
43#![cfg_attr(rustfmt, rustfmt_skip)]
44#![allow(unused_parens)]
45#![allow(unused_imports)]
46#![allow(missing_docs)]
47#![allow(dead_code)]
48
49use frame_support::{traits::Get, weights::Weight};
50use core::marker::PhantomData;
51
52/// Weight functions for `pallet_transaction_payment`.
53pub struct SubstrateWeight<T>(PhantomData<T>);
54impl<T: frame_system::Config> pallet_transaction_payment::WeightInfo for SubstrateWeight<T> {
55	/// Storage: `System::Account` (r:2 w:2)
56	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
57	fn charge_transaction_payment() -> Weight {
58		// Proof Size summary in bytes:
59		//  Measured:  `174`
60		//  Estimated: `6196`
61		// Minimum execution time: 65_503_000 picoseconds.
62		Weight::from_parts(66_031_000, 0)
63			.saturating_add(Weight::from_parts(0, 6196))
64			.saturating_add(T::DbWeight::get().reads(2))
65			.saturating_add(T::DbWeight::get().writes(2))
66	}
67}