Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove executed migrations #1167

Merged
merged 3 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions parachain/runtime/interlay/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1324,13 +1324,7 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
(
orml_asset_registry::Migration<Runtime>,
orml_unknown_tokens::Migration<Runtime>,
dex::SetLoansExchangeRates,
issue::migration::v1::Migration<Runtime>,
evm::SetEvmChainId<Runtime>,
),
(evm::SetEvmChainId<Runtime>,),
>;

impl fp_self_contained::SelfContainedCall for RuntimeCall {
Expand Down
28 changes: 14 additions & 14 deletions parachain/runtime/interlay/src/weights/annuity_escrow_annuity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//! Autogenerated weights for annuity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
Expand All @@ -24,7 +24,7 @@
// --repeat
// 10
// --output
// ../tmp-weight/
// parachain/runtime/interlay/src/weights/
// --template
// .deploy/runtime-weight-template.hbs

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: 15_962_000 picoseconds.
Weight::from_parts(16_652_000, 0)
// Minimum execution time: 13_878_000 picoseconds.
Weight::from_parts(14_369_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 @@ -61,28 +61,28 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn withdraw_rewards () -> Weight {
// Proof Size summary in bytes:
// Measured: `747`
// Estimated: `23880`
// Minimum execution time: 144_859_000 picoseconds.
Weight::from_parts(150_600_000, 23880)
// Measured: `1014`
// Estimated: `6170`
// Minimum execution time: 125_391_000 picoseconds.
Weight::from_parts(130_662_000, 6170)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
/// Storage: Tokens Accounts (r:1 w:0)
/// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen)
fn update_rewards () -> Weight {
// Proof Size summary in bytes:
// Measured: `319`
// Measured: `536`
// Estimated: `3580`
// Minimum execution time: 26_200_000 picoseconds.
Weight::from_parts(27_770_000, 3580)
// Minimum execution time: 23_708_000 picoseconds.
Weight::from_parts(25_200_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: 10_013_000 picoseconds.
Weight::from_parts(10_547_000, 0)
// Minimum execution time: 9_058_000 picoseconds.
Weight::from_parts(9_459_000, 0)
}
}
20 changes: 10 additions & 10 deletions parachain/runtime/interlay/src/weights/annuity_vault_annuity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//! Autogenerated weights for annuity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
Expand All @@ -24,7 +24,7 @@
// --repeat
// 10
// --output
// ../tmp-weight/
// parachain/runtime/interlay/src/weights/
// --template
// .deploy/runtime-weight-template.hbs

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: 16_456_000 picoseconds.
Weight::from_parts(16_919_000, 0)
// Minimum execution time: 14_750_000 picoseconds.
Weight::from_parts(15_390_000, 0)
}
fn withdraw_rewards () -> Weight {
// Proof Size summary in bytes:
Expand All @@ -58,17 +58,17 @@ impl<T: frame_system::Config> annuity::WeightInfo for WeightInfo<T> {
/// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen)
fn update_rewards () -> Weight {
// Proof Size summary in bytes:
// Measured: `319`
// Measured: `536`
// Estimated: `3580`
// Minimum execution time: 25_859_000 picoseconds.
Weight::from_parts(27_884_000, 3580)
// Minimum execution time: 23_998_000 picoseconds.
Weight::from_parts(25_060_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: 10_298_000 picoseconds.
Weight::from_parts(10_736_000, 0)
// Minimum execution time: 9_028_000 picoseconds.
Weight::from_parts(9_399_000, 0)
}
}
62 changes: 31 additions & 31 deletions parachain/runtime/interlay/src/weights/btc_relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//! Autogenerated weights for btc_relay
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
Expand All @@ -24,7 +24,7 @@
// --repeat
// 10
// --output
// ../tmp-weight/
// parachain/runtime/interlay/src/weights/
// --template
// .deploy/runtime-weight-template.hbs

Expand Down Expand Up @@ -62,10 +62,10 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
/// Proof: BTCRelay BlockHeaders (max_values: None, max_size: Some(200), added: 2675, mode: MaxEncodedLen)
fn initialize () -> Weight {
// Proof Size summary in bytes:
// Measured: `430`
// Estimated: `9470`
// Minimum execution time: 84_891_000 picoseconds.
Weight::from_parts(89_997_000, 9470)
// Measured: `403`
// Estimated: `3489`
// Minimum execution time: 71_783_000 picoseconds.
Weight::from_parts(74_009_000, 3489)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(8_u64))
}
Expand All @@ -87,10 +87,10 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
/// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn store_block_header () -> Weight {
// Proof Size summary in bytes:
// Measured: `901`
// Estimated: `17838`
// Minimum execution time: 96_734_000 picoseconds.
Weight::from_parts(104_906_000, 17838)
// Measured: `874`
// Estimated: `6340`
// Minimum execution time: 88_808_000 picoseconds.
Weight::from_parts(90_482_000, 6340)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -113,16 +113,16 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
/// The range of component `f` is `[1, 6]`.
fn store_block_header_new_fork_sorted (f: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `841 + f * (92 ±0)`
// Estimated: `16800 + f * (5006 ±0)`
// Minimum execution time: 122_921_000 picoseconds.
Weight::from_parts(115_873_657, 16800)
// Standard Error: 233_264
.saturating_add(Weight::from_parts(13_772_544, 0).saturating_mul(f.into()))
// 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())))
.saturating_add(T::DbWeight::get().writes(5_u64))
.saturating_add(Weight::from_parts(0, 5006).saturating_mul(f.into()))
.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 @@ -143,17 +143,17 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
/// The range of component `f` is `[1, 6]`.
fn store_block_header_new_fork_unsorted (f: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `920 + f * (98 ±0)`
// Estimated: `19871 + f * (2975 ±31)`
// Minimum execution time: 124_552_000 picoseconds.
Weight::from_parts(119_807_286, 19871)
// Standard Error: 219_739
.saturating_add(Weight::from_parts(16_025_685, 0).saturating_mul(f.into()))
// 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, 2975).saturating_mul(f.into()))
.saturating_add(Weight::from_parts(0, 2499).saturating_mul(f.into()))
}
/// Storage: BTCRelay ChainCounter (r:1 w:0)
/// Proof: BTCRelay ChainCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Expand All @@ -178,12 +178,12 @@ impl<T: frame_system::Config> btc_relay::WeightInfo for WeightInfo<T> {
/// The range of component `f` is `[3, 6]`.
fn store_block_header_reorganize_chains (f: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `4937 + f * (199 ±0)`
// Estimated: `109561 + f * (1340 ±45)`
// Minimum execution time: 650_977_000 picoseconds.
Weight::from_parts(615_353_151, 109561)
// Standard Error: 994_819
.saturating_add(Weight::from_parts(22_332_173, 0).saturating_mul(f.into()))
// 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())))
.saturating_add(T::DbWeight::get().writes(46_u64))
Expand Down
28 changes: 12 additions & 16 deletions parachain/runtime/interlay/src/weights/clients_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//! Autogenerated weights for clients_info
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz`
//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024

// Executed Command:
Expand All @@ -24,7 +24,7 @@
// --repeat
// 10
// --output
// ../tmp-weight/
// parachain/runtime/interlay/src/weights/
// --template
// .deploy/runtime-weight-template.hbs

Expand All @@ -44,16 +44,12 @@ 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: 28_286_000 picoseconds.
Weight::from_parts(29_757_758, 0)
// Standard Error: 1_555
.saturating_add(Weight::from_parts(7_981, 0).saturating_mul(n.into()))
// Standard Error: 1_555
.saturating_add(Weight::from_parts(5_543, 0).saturating_mul(u.into()))
// Minimum execution time: 23_357_000 picoseconds.
Weight::from_parts(26_197_179, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: ClientsInfo PendingClientReleases (r:0 w:1)
Expand All @@ -64,12 +60,12 @@ impl<T: frame_system::Config> clients_info::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 28_745_000 picoseconds.
Weight::from_parts(28_862_679, 0)
// Standard Error: 1_669
.saturating_add(Weight::from_parts(9_826, 0).saturating_mul(n.into()))
// Standard Error: 1_669
.saturating_add(Weight::from_parts(9_079, 0).saturating_mul(u.into()))
// 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()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
Loading