|
2 | 2 | //! Autogenerated weights for pallet_partner_chains_bridge |
3 | 3 | //! |
4 | 4 | //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 |
5 | | -//! DATE: 2025-08-25, STEPS: `500`, REPEAT: `200`, LOW RANGE: `[]`, HIGH RANGE: `[]` |
| 5 | +//! DATE: 2025-09-10, STEPS: `500`, REPEAT: `200`, LOW RANGE: `[]`, HIGH RANGE: `[]` |
6 | 6 | //! WORST CASE MAP SIZE: `1000000` |
7 | 7 | //! HOSTNAME: `Nikolaoss-MacBook-Pro.local`, CPU: `<UNKNOWN>` |
8 | 8 | //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 |
@@ -36,61 +36,65 @@ use core::marker::PhantomData; |
36 | 36 |
|
37 | 37 | /// Weight functions needed for pallet_partner_chains_bridge. |
38 | 38 | pub trait WeightInfo { |
39 | | - fn handle_transfers(t: u32, s: u32, ) -> Weight; |
| 39 | + fn handle_transfers(t: u32, ) -> Weight; |
40 | 40 | fn set_main_chain_scripts() -> Weight; |
41 | 41 | } |
42 | 42 |
|
43 | 43 | /// Weights for pallet_partner_chains_bridge using the Substrate node and recommended hardware. |
44 | 44 | pub struct SubstrateWeight<T>(PhantomData<T>); |
45 | 45 | impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> { |
| 46 | + /// Storage: `Bridge::DataCheckpoint` (r:0 w:1) |
| 47 | + /// Proof: `Bridge::DataCheckpoint` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) |
46 | 48 | /// The range of component `t` is `[1, 256]`. |
47 | | - /// The range of component `s` is `[1, 256]`. |
48 | | - fn handle_transfers(t: u32, s: u32, ) -> Weight { |
| 49 | + fn handle_transfers(t: u32, ) -> Weight { |
49 | 50 | // Proof Size summary in bytes: |
50 | 51 | // Measured: `0` |
51 | 52 | // Estimated: `0` |
52 | | - // Minimum execution time: 1_000_000 picoseconds. |
53 | | - Weight::from_parts(1_914_402, 0) |
54 | | - // Standard Error: 8 |
55 | | - .saturating_add(Weight::from_parts(166, 0).saturating_mul(t.into())) |
56 | | - // Standard Error: 8 |
57 | | - .saturating_add(Weight::from_parts(127, 0).saturating_mul(s.into())) |
| 53 | + // Minimum execution time: 2_000_000 picoseconds. |
| 54 | + Weight::from_parts(1_999_689, 0) |
| 55 | + // Standard Error: 4 |
| 56 | + .saturating_add(Weight::from_parts(53, 0).saturating_mul(t.into())) |
| 57 | + .saturating_add(T::DbWeight::get().writes(1_u64)) |
58 | 58 | } |
59 | 59 | /// Storage: `Bridge::MainChainScriptsConfiguration` (r:0 w:1) |
60 | 60 | /// Proof: `Bridge::MainChainScriptsConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) |
| 61 | + /// Storage: `Bridge::DataCheckpoint` (r:0 w:1) |
| 62 | + /// Proof: `Bridge::DataCheckpoint` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) |
61 | 63 | fn set_main_chain_scripts() -> Weight { |
62 | 64 | // Proof Size summary in bytes: |
63 | 65 | // Measured: `0` |
64 | 66 | // Estimated: `0` |
65 | | - // Minimum execution time: 1_000_000 picoseconds. |
| 67 | + // Minimum execution time: 2_000_000 picoseconds. |
66 | 68 | Weight::from_parts(2_000_000, 0) |
67 | | - .saturating_add(T::DbWeight::get().writes(1_u64)) |
| 69 | + .saturating_add(T::DbWeight::get().writes(2_u64)) |
68 | 70 | } |
69 | 71 | } |
70 | 72 |
|
71 | 73 | // For backwards compatibility and tests |
72 | 74 | impl WeightInfo for () { |
| 75 | + /// Storage: `Bridge::DataCheckpoint` (r:0 w:1) |
| 76 | + /// Proof: `Bridge::DataCheckpoint` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) |
73 | 77 | /// The range of component `t` is `[1, 256]`. |
74 | | - /// The range of component `s` is `[1, 256]`. |
75 | | - fn handle_transfers(t: u32, s: u32, ) -> Weight { |
| 78 | + fn handle_transfers(t: u32, ) -> Weight { |
76 | 79 | // Proof Size summary in bytes: |
77 | 80 | // Measured: `0` |
78 | 81 | // Estimated: `0` |
79 | | - // Minimum execution time: 1_000_000 picoseconds. |
80 | | - Weight::from_parts(1_914_402, 0) |
81 | | - // Standard Error: 8 |
82 | | - .saturating_add(Weight::from_parts(166, 0).saturating_mul(t.into())) |
83 | | - // Standard Error: 8 |
84 | | - .saturating_add(Weight::from_parts(127, 0).saturating_mul(s.into())) |
| 82 | + // Minimum execution time: 2_000_000 picoseconds. |
| 83 | + Weight::from_parts(1_999_689, 0) |
| 84 | + // Standard Error: 4 |
| 85 | + .saturating_add(Weight::from_parts(53, 0).saturating_mul(t.into())) |
| 86 | + .saturating_add(RocksDbWeight::get().writes(1_u64)) |
85 | 87 | } |
86 | 88 | /// Storage: `Bridge::MainChainScriptsConfiguration` (r:0 w:1) |
87 | 89 | /// Proof: `Bridge::MainChainScriptsConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) |
| 90 | + /// Storage: `Bridge::DataCheckpoint` (r:0 w:1) |
| 91 | + /// Proof: `Bridge::DataCheckpoint` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) |
88 | 92 | fn set_main_chain_scripts() -> Weight { |
89 | 93 | // Proof Size summary in bytes: |
90 | 94 | // Measured: `0` |
91 | 95 | // Estimated: `0` |
92 | | - // Minimum execution time: 1_000_000 picoseconds. |
| 96 | + // Minimum execution time: 2_000_000 picoseconds. |
93 | 97 | Weight::from_parts(2_000_000, 0) |
94 | | - .saturating_add(RocksDbWeight::get().writes(1_u64)) |
| 98 | + .saturating_add(RocksDbWeight::get().writes(2_u64)) |
95 | 99 | } |
96 | 100 | } |
0 commit comments