Skip to content

Commit

Permalink
chore: bump version, recalculate weights
Browse files Browse the repository at this point in the history
  • Loading branch information
nakul1010 committed Jan 4, 2024
1 parent 68638d1 commit cc5386d
Show file tree
Hide file tree
Showing 81 changed files with 4,053 additions and 4,368 deletions.
1,121 changes: 622 additions & 499 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion parachain/runtime/interlay/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("interlay-parachain"),
impl_name: create_runtime_str!("interlay-parachain"),
authoring_version: 1,
spec_version: 1025003,
spec_version: 1025004,
impl_version: 1,
transaction_version: 4,
apis: RUNTIME_API_VERSIONS,
Expand Down
34 changes: 17 additions & 17 deletions parachain/runtime/interlay/src/weights/annuity_escrow_annuity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
//! Autogenerated weights for annuity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-04, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `nakul-GF65-Thin-10UE`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
// *
// --extrinsic
// *
// --chain
// interlay-dev
// --execution=wasm
// --wasm-execution=compiled
// --steps
// 50
// 2
// --repeat
// 10
// --output
// parachain/runtime/interlay/src/weights/
// 1
// --template
// .deploy/runtime-weight-template.hbs
// --chain
// interlay-dev
// --output
// parachain/runtime/interlay/src/weights/

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -44,8 +44,8 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 13_878_000 picoseconds.
Weight::from_parts(14_369_000, 0)
// Minimum execution time: 16_881_000 picoseconds.
Weight::from_parts(16_885_000, 0)
}
/// Storage: EscrowRewards Stake (r:1 w:0)
/// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
Expand All @@ -63,8 +63,8 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1014`
// Estimated: `6170`
// Minimum execution time: 125_391_000 picoseconds.
Weight::from_parts(130_662_000, 6170)
// Minimum execution time: 119_979_000 picoseconds.
Weight::from_parts(126_021_000, 6170)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand All @@ -74,15 +74,15 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `536`
// Estimated: `3580`
// Minimum execution time: 23_708_000 picoseconds.
Weight::from_parts(25_200_000, 3580)
// Minimum execution time: 28_116_000 picoseconds.
Weight::from_parts(28_715_000, 3580)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn set_reward_per_wrapped () -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_058_000 picoseconds.
Weight::from_parts(9_459_000, 0)
// Minimum execution time: 16_701_000 picoseconds.
Weight::from_parts(19_535_000, 0)
}
}
30 changes: 15 additions & 15 deletions parachain/runtime/interlay/src/weights/annuity_vault_annuity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
//! Autogenerated weights for annuity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-04, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `nakul-GF65-Thin-10UE`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
// *
// --extrinsic
// *
// --chain
// interlay-dev
// --execution=wasm
// --wasm-execution=compiled
// --steps
// 50
// 2
// --repeat
// 10
// --output
// parachain/runtime/interlay/src/weights/
// 1
// --template
// .deploy/runtime-weight-template.hbs
// --chain
// interlay-dev
// --output
// parachain/runtime/interlay/src/weights/

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -44,8 +44,8 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 14_750_000 picoseconds.
Weight::from_parts(15_390_000, 0)
// Minimum execution time: 13_393_000 picoseconds.
Weight::from_parts(13_529_000, 0)
}
fn withdraw_rewards () -> Weight {
// Proof Size summary in bytes:
Expand All @@ -60,15 +60,15 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `536`
// Estimated: `3580`
// Minimum execution time: 23_998_000 picoseconds.
Weight::from_parts(25_060_000, 3580)
// Minimum execution time: 22_781_000 picoseconds.
Weight::from_parts(24_470_000, 3580)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn set_reward_per_wrapped () -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_028_000 picoseconds.
Weight::from_parts(9_399_000, 0)
// Minimum execution time: 9_691_000 picoseconds.
Weight::from_parts(14_564_000, 0)
}
}
77 changes: 32 additions & 45 deletions parachain/runtime/interlay/src/weights/btc_relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
//! Autogenerated weights for btc_relay
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-04, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `nakul-GF65-Thin-10UE`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
// *
// --extrinsic
// *
// --chain
// interlay-dev
// --execution=wasm
// --wasm-execution=compiled
// --steps
// 50
// 2
// --repeat
// 10
// --output
// parachain/runtime/interlay/src/weights/
// 1
// --template
// .deploy/runtime-weight-template.hbs
// --chain
// interlay-dev
// --output
// parachain/runtime/interlay/src/weights/

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand Down Expand Up @@ -64,8 +64,8 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `403`
// Estimated: `3489`
// Minimum execution time: 71_783_000 picoseconds.
Weight::from_parts(74_009_000, 3489)
// Minimum execution time: 76_762_000 picoseconds.
Weight::from_parts(76_762_000, 3489)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
}
Expand All @@ -89,8 +89,8 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `874`
// Estimated: `6340`
// Minimum execution time: 88_808_000 picoseconds.
Weight::from_parts(90_482_000, 6340)
// Minimum execution time: 106_799_000 picoseconds.
Weight::from_parts(106_799_000, 6340)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -111,18 +111,14 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
/// Storage: BTCRelay ChainsHashes (r:0 w:1)
/// Proof: BTCRelay ChainsHashes (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// The range of component `f` is `[1, 6]`.
fn store_block_header_new_fork_sorted (f: u32, ) -> Weight {
fn store_block_header_new_fork_sorted (_f: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `806 + f * (101 ±0)`
// Estimated: `6340 + f * (2507 ±0)`
// Minimum execution time: 101_073_000 picoseconds.
Weight::from_parts(95_176_412, 6340)
// Standard Error: 452_083
.saturating_add(Weight::from_parts(11_888_980, 0).saturating_mul(f.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(f.into())))
// Measured: `796 + f * (110 ±0)`
// Estimated: `18483`
// Minimum execution time: 96_279_000 picoseconds.
Weight::from_parts(146_667_000, 18483)
.saturating_add(T::DbWeight::get().reads(19_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
.saturating_add(Weight::from_parts(0, 2507).saturating_mul(f.into()))
}
/// Storage: BTCRelay ChainCounter (r:1 w:1)
/// Proof: BTCRelay ChainCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Expand All @@ -141,19 +137,14 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
/// Storage: BTCRelay ChainsHashes (r:0 w:1)
/// Proof: BTCRelay ChainsHashes (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
/// The range of component `f` is `[1, 6]`.
fn store_block_header_new_fork_unsorted (f: u32, ) -> Weight {
fn store_block_header_new_fork_unsorted (_f: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `842 + f * (99 ±0)`
// Estimated: `6340 + f * (2499 ±0)`
// Minimum execution time: 97_675_000 picoseconds.
Weight::from_parts(89_104_041, 6340)
// Standard Error: 196_333
.saturating_add(Weight::from_parts(14_328_939, 0).saturating_mul(f.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(f.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(f.into())))
.saturating_add(Weight::from_parts(0, 2499).saturating_mul(f.into()))
// Measured: `832 + f * (108 ±0)`
// Estimated: `18483`
// Minimum execution time: 100_644_000 picoseconds.
Weight::from_parts(156_569_000, 18483)
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().writes(10_u64))
}
/// Storage: BTCRelay ChainCounter (r:1 w:0)
/// Proof: BTCRelay ChainCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Expand All @@ -176,17 +167,13 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
/// Storage: BTCRelay BestBlockHeight (r:0 w:1)
/// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// The range of component `f` is `[3, 6]`.
fn store_block_header_reorganize_chains (f: u32, ) -> Weight {
fn store_block_header_reorganize_chains (_f: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `4741 + f * (240 ±0)`
// Estimated: `54490 + f * (1340 ±45)`
// Minimum execution time: 506_604_000 picoseconds.
Weight::from_parts(465_095_071, 54490)
// Standard Error: 430_820
.saturating_add(Weight::from_parts(18_597_675, 0).saturating_mul(f.into()))
.saturating_add(T::DbWeight::get().reads(42_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(f.into())))
// Measured: `4754 + f * (235 ±0)`
// Estimated: `54490`
// Minimum execution time: 467_243_000 picoseconds.
Weight::from_parts(487_346_000, 54490)
.saturating_add(T::DbWeight::get().reads(46_u64))
.saturating_add(T::DbWeight::get().writes(46_u64))
.saturating_add(Weight::from_parts(0, 1340).saturating_mul(f.into()))
}
}
38 changes: 19 additions & 19 deletions parachain/runtime/interlay/src/weights/clients_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
//! Autogenerated weights for clients_info
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-01-04, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! HOSTNAME: `nakul-GF65-Thin-10UE`, CPU: `Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
// target/release/interbtc-parachain
// ./target/release/interbtc-parachain
// benchmark
// pallet
// --pallet
// *
// --extrinsic
// *
// --chain
// interlay-dev
// --execution=wasm
// --wasm-execution=compiled
// --steps
// 50
// 2
// --repeat
// 10
// --output
// parachain/runtime/interlay/src/weights/
// 1
// --template
// .deploy/runtime-weight-template.hbs
// --chain
// interlay-dev
// --output
// parachain/runtime/interlay/src/weights/

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -44,28 +44,28 @@ impl<T: frame_system::Config> clients_info::WeightInfo for WeightInfo<T> {
/// Proof: ClientsInfo CurrentClientReleases (max_values: None, max_size: Some(562), added: 3037, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 255]`.
/// The range of component `u` is `[0, 255]`.
fn set_current_client_release (_n: u32, _u: u32, ) -> Weight {
fn set_current_client_release (_n: u32, u: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 23_357_000 picoseconds.
Weight::from_parts(26_197_179, 0)
// Minimum execution time: 28_504_000 picoseconds.
Weight::from_parts(29_112_000, 0)
// Standard Error: 40
.saturating_add(Weight::from_parts(1_266, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: ClientsInfo PendingClientReleases (r:0 w:1)
/// Proof: ClientsInfo PendingClientReleases (max_values: None, max_size: Some(562), added: 3037, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 255]`.
/// The range of component `u` is `[0, 255]`.
fn set_pending_client_release (n: u32, u: u32, ) -> Weight {
fn set_pending_client_release (_n: u32, u: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 22_976_000 picoseconds.
Weight::from_parts(24_221_268, 0)
// Standard Error: 615
.saturating_add(Weight::from_parts(3_577, 0).saturating_mul(n.into()))
// Standard Error: 615
.saturating_add(Weight::from_parts(1_267, 0).saturating_mul(u.into()))
// Minimum execution time: 27_988_000 picoseconds.
Weight::from_parts(28_117_000, 0)
// Standard Error: 1_582
.saturating_add(Weight::from_parts(3_392, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
Loading

0 comments on commit cc5386d

Please sign in to comment.