mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 20:21:03 +00:00
get rid of obsolete weight functions (#1926)
This commit is contained in:
committed by
Bastian Köcher
parent
50d92eb8de
commit
3a145e5844
@@ -14,10 +14,10 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Autogenerated weights for pallet_bridge_messages
|
||||
//! Autogenerated weights for RialtoMessages
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-03-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-03-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `covid`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
@@ -29,7 +29,7 @@
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_bridge_messages
|
||||
// --pallet=RialtoMessages
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=Compiled
|
||||
@@ -48,7 +48,7 @@ use frame_support::{
|
||||
};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions needed for pallet_bridge_messages.
|
||||
/// Weight functions needed for RialtoMessages.
|
||||
pub trait WeightInfo {
|
||||
fn receive_single_message_proof() -> Weight;
|
||||
fn receive_two_messages_proof() -> Weight;
|
||||
@@ -60,7 +60,7 @@ pub trait WeightInfo {
|
||||
fn receive_delivery_proof_for_two_messages_by_two_relayers() -> Weight;
|
||||
}
|
||||
|
||||
/// Weights for `pallet_bridge_messages` that are generated using one of the Bridge testnets.
|
||||
/// Weights for `RialtoMessages` that are generated using one of the Bridge testnets.
|
||||
///
|
||||
/// Those weights are test only and must never be used in production.
|
||||
pub struct BridgeWeight<T>(PhantomData<T>);
|
||||
@@ -88,8 +88,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 48_426 nanoseconds.
|
||||
Weight::from_parts(50_113_000, 54703)
|
||||
// Minimum execution time: 48_058 nanoseconds.
|
||||
Weight::from_parts(50_422_000, 54703)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -116,8 +116,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 59_739 nanoseconds.
|
||||
Weight::from_parts(61_704_000, 54703)
|
||||
// Minimum execution time: 59_371 nanoseconds.
|
||||
Weight::from_parts(61_726_000, 54703)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -144,8 +144,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 53_760 nanoseconds.
|
||||
Weight::from_parts(55_645_000, 54703)
|
||||
// Minimum execution time: 53_398 nanoseconds.
|
||||
Weight::from_parts(54_351_000, 54703)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -167,8 +167,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `54200`
|
||||
// Minimum execution time: 49_582 nanoseconds.
|
||||
Weight::from_parts(51_250_000, 54200)
|
||||
// Minimum execution time: 50_064 nanoseconds.
|
||||
Weight::from_parts(51_306_000, 54200)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -190,8 +190,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `54200`
|
||||
// Minimum execution time: 76_418 nanoseconds.
|
||||
Weight::from_parts(77_877_000, 54200)
|
||||
// Minimum execution time: 75_403 nanoseconds.
|
||||
Weight::from_parts(77_006_000, 54200)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -218,8 +218,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `579`
|
||||
// Estimated: `5624`
|
||||
// Minimum execution time: 41_795 nanoseconds.
|
||||
Weight::from_parts(43_683_000, 5624)
|
||||
// Minimum execution time: 41_670 nanoseconds.
|
||||
Weight::from_parts(42_863_000, 5624)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -246,8 +246,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596`
|
||||
// Estimated: `5624`
|
||||
// Minimum execution time: 39_946 nanoseconds.
|
||||
Weight::from_parts(41_509_000, 5624)
|
||||
// Minimum execution time: 40_928 nanoseconds.
|
||||
Weight::from_parts(42_165_000, 5624)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -274,8 +274,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596`
|
||||
// Estimated: `8164`
|
||||
// Minimum execution time: 42_882 nanoseconds.
|
||||
Weight::from_parts(44_367_000, 8164)
|
||||
// Minimum execution time: 44_022 nanoseconds.
|
||||
Weight::from_parts(44_657_000, 8164)
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -306,8 +306,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 48_426 nanoseconds.
|
||||
Weight::from_parts(50_113_000, 54703)
|
||||
// Minimum execution time: 48_058 nanoseconds.
|
||||
Weight::from_parts(50_422_000, 54703)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -334,8 +334,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 59_739 nanoseconds.
|
||||
Weight::from_parts(61_704_000, 54703)
|
||||
// Minimum execution time: 59_371 nanoseconds.
|
||||
Weight::from_parts(61_726_000, 54703)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -362,8 +362,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 53_760 nanoseconds.
|
||||
Weight::from_parts(55_645_000, 54703)
|
||||
// Minimum execution time: 53_398 nanoseconds.
|
||||
Weight::from_parts(54_351_000, 54703)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -385,8 +385,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `54200`
|
||||
// Minimum execution time: 49_582 nanoseconds.
|
||||
Weight::from_parts(51_250_000, 54200)
|
||||
// Minimum execution time: 50_064 nanoseconds.
|
||||
Weight::from_parts(51_306_000, 54200)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -408,8 +408,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `54200`
|
||||
// Minimum execution time: 76_418 nanoseconds.
|
||||
Weight::from_parts(77_877_000, 54200)
|
||||
// Minimum execution time: 75_403 nanoseconds.
|
||||
Weight::from_parts(77_006_000, 54200)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -436,8 +436,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `579`
|
||||
// Estimated: `5624`
|
||||
// Minimum execution time: 41_795 nanoseconds.
|
||||
Weight::from_parts(43_683_000, 5624)
|
||||
// Minimum execution time: 41_670 nanoseconds.
|
||||
Weight::from_parts(42_863_000, 5624)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -464,8 +464,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596`
|
||||
// Estimated: `5624`
|
||||
// Minimum execution time: 39_946 nanoseconds.
|
||||
Weight::from_parts(41_509_000, 5624)
|
||||
// Minimum execution time: 40_928 nanoseconds.
|
||||
Weight::from_parts(42_165_000, 5624)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -492,8 +492,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596`
|
||||
// Estimated: `8164`
|
||||
// Minimum execution time: 42_882 nanoseconds.
|
||||
Weight::from_parts(44_367_000, 8164)
|
||||
// Minimum execution time: 44_022 nanoseconds.
|
||||
Weight::from_parts(44_657_000, 8164)
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user