Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit e804144

Browse files
Whitelist from benchmarking XCM storage keys read each block (#6871)
* Whitelist from benchmarking XCM storage keys read each block * ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm * Remove XcmPallet SupportedVersion from the benchmark whitelist * ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime kusama pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm * WIP * Add necessary traits, remove unnecessary whitelisted keys * Fix tests * Remove unused file * Remove unused import --------- Co-authored-by: command-bot <>
1 parent e8774b9 commit e804144

File tree

12 files changed

+187
-179
lines changed

12 files changed

+187
-179
lines changed

runtime/kusama/src/lib.rs

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,6 +2131,7 @@ sp_api::impl_runtime_apis! {
21312131
Vec<frame_benchmarking::BenchmarkBatch>,
21322132
sp_runtime::RuntimeString,
21332133
> {
2134+
use frame_support::traits::WhitelistedStorageKeys;
21342135
use frame_benchmarking::{Benchmarking, BenchmarkBatch, TrackedStorageKey, BenchmarkError};
21352136
// Trying to add benchmarks directly to some pallets caused cyclic dependency issues.
21362137
// To get around that, we separated the benchmarks into its own crate.
@@ -2240,24 +2241,9 @@ sp_api::impl_runtime_apis! {
22402241
}
22412242
}
22422243

2243-
let whitelist: Vec<TrackedStorageKey> = vec![
2244-
// Block Number
2245-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(),
2246-
// Total Issuance
2247-
hex_literal::hex!("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80").to_vec().into(),
2248-
// Execution Phase
2249-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a").to_vec().into(),
2250-
// Event Count
2251-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850").to_vec().into(),
2252-
// System Events
2253-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(),
2254-
// Treasury Account
2255-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da95ecffd7b6c0f78751baa9d281e0bfa3a6d6f646c70792f74727372790000000000000000000000000000000000000000").to_vec().into(),
2256-
// Configuration ActiveConfig
2257-
hex_literal::hex!("06de3d8a54d27e44a9d5ce189618f22db4b49d95320d9021994c850f25b8e385").to_vec().into(),
2258-
// The transactional storage limit.
2259-
hex_literal::hex!("3a7472616e73616374696f6e5f6c6576656c3a").to_vec().into(),
2260-
];
2244+
let mut whitelist: Vec<TrackedStorageKey> = AllPalletsWithSystem::whitelisted_storage_keys();
2245+
let treasury_key = frame_system::Account::<Runtime>::hashed_key_for(Treasury::account_id());
2246+
whitelist.push(treasury_key.to_vec().into());
22612247

22622248
let mut batches = Vec::<BenchmarkBatch>::new();
22632249
let params = (&config, &whitelist);

runtime/kusama/src/tests.rs

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@
1717
//! Tests for the Kusama Runtime Configuration
1818
1919
use crate::*;
20-
use frame_support::{dispatch::GetDispatchInfo, weights::WeightToFee as WeightToFeeT};
20+
use frame_support::{
21+
dispatch::GetDispatchInfo, traits::WhitelistedStorageKeys, weights::WeightToFee as WeightToFeeT,
22+
};
2123
use keyring::Sr25519Keyring::Charlie;
2224
use pallet_transaction_payment::Multiplier;
2325
use parity_scale_codec::Encode;
2426
use runtime_common::MinimumMultiplier;
2527
use separator::Separatable;
28+
use sp_core::hexdisplay::HexDisplay;
2629
use sp_runtime::FixedPointNumber;
30+
use std::collections::HashSet;
2731

2832
#[test]
2933
fn nis_hold_reason_encoding_is_correct() {
@@ -154,3 +158,28 @@ fn max_upward_message_size() {
154158
pallet_message_queue::MaxMessageLenOf::<Runtime>::get()
155159
);
156160
}
161+
162+
#[test]
163+
fn check_whitelist() {
164+
let whitelist: HashSet<String> = AllPalletsWithSystem::whitelisted_storage_keys()
165+
.iter()
166+
.map(|e| HexDisplay::from(&e.key).to_string())
167+
.collect();
168+
169+
// Block number
170+
assert!(whitelist.contains("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac"));
171+
// Total issuance
172+
assert!(whitelist.contains("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80"));
173+
// Execution phase
174+
assert!(whitelist.contains("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a"));
175+
// Event count
176+
assert!(whitelist.contains("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850"));
177+
// System events
178+
assert!(whitelist.contains("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7"));
179+
// Configuration ActiveConfig
180+
assert!(whitelist.contains("06de3d8a54d27e44a9d5ce189618f22db4b49d95320d9021994c850f25b8e385"));
181+
// XcmPallet VersionDiscoveryQueue
182+
assert!(whitelist.contains("1405f2411d0af5a7ff397e7c9dc68d194a222ba0333561192e474c59ed8e30e1"));
183+
// XcmPallet SafeXcmVersion
184+
assert!(whitelist.contains("1405f2411d0af5a7ff397e7c9dc68d196323ae84c43568be0d1394d5d0d522c4"));
185+
}

runtime/kusama/src/weights/pallet_xcm.rs

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@
2323
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
2424
2525
// Executed Command:
26-
// ./target/production/polkadot
26+
// target/production/polkadot
2727
// benchmark
2828
// pallet
29-
// --chain=kusama-dev
3029
// --steps=50
3130
// --repeat=20
3231
// --no-storage-info
@@ -36,6 +35,10 @@
3635
// --extrinsic=*
3736
// --execution=wasm
3837
// --wasm-execution=compiled
38+
// --heap-pages=4096
39+
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
40+
// --pallet=pallet_xcm
41+
// --chain=kusama-dev
3942
// --header=./file_header.txt
4043
// --output=./runtime/kusama/src/weights/
4144

@@ -56,10 +59,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
5659
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
5760
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
5861
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
59-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
60-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
61-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
62-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
6362
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
6463
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
6564
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
@@ -109,16 +108,13 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
109108
.saturating_add(Weight::from_parts(0, 0))
110109
.saturating_add(T::DbWeight::get().writes(1))
111110
}
112-
/// Storage: XcmPallet SafeXcmVersion (r:0 w:1)
113-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
114111
fn force_default_xcm_version() -> Weight {
115112
// Proof Size summary in bytes:
116113
// Measured: `0`
117114
// Estimated: `0`
118115
// Minimum execution time: 2_939_000 picoseconds.
119116
Weight::from_parts(3_022_000, 0)
120117
.saturating_add(Weight::from_parts(0, 0))
121-
.saturating_add(T::DbWeight::get().writes(1))
122118
}
123119
/// Storage: XcmPallet VersionNotifiers (r:1 w:1)
124120
/// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured)
@@ -130,10 +126,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
130126
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
131127
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
132128
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
133-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
134-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
135-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
136-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
137129
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
138130
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
139131
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
@@ -158,10 +150,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
158150
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
159151
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
160152
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
161-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
162-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
163-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
164-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
165153
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
166154
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
167155
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
@@ -232,10 +220,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
232220
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
233221
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
234222
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
235-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
236-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
237-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
238-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
239223
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
240224
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
241225
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
@@ -281,10 +265,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
281265
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
282266
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
283267
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
284-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
285-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
286-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
287-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
288268
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
289269
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
290270
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)

runtime/parachains/src/configuration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ pub mod pallet {
508508

509509
/// The active configuration for the current session.
510510
#[pallet::storage]
511+
#[pallet::whitelist_storage]
511512
#[pallet::getter(fn config)]
512513
pub(crate) type ActiveConfig<T: Config> =
513514
StorageValue<_, HostConfiguration<T::BlockNumber>, ValueQuery>;

runtime/polkadot/src/lib.rs

Lines changed: 46 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2119,6 +2119,7 @@ sp_api::impl_runtime_apis! {
21192119
Vec<frame_benchmarking::BenchmarkBatch>,
21202120
sp_runtime::RuntimeString,
21212121
> {
2122+
use frame_support::traits::WhitelistedStorageKeys;
21222123
use frame_benchmarking::{Benchmarking, BenchmarkBatch, TrackedStorageKey, BenchmarkError};
21232124
// Trying to add benchmarks directly to some pallets caused cyclic dependency issues.
21242125
// To get around that, we separated the benchmarks into its own crate.
@@ -2139,6 +2140,10 @@ sp_api::impl_runtime_apis! {
21392140
impl pallet_nomination_pools_benchmarking::Config for Runtime {}
21402141
impl runtime_parachains::disputes::slashing::benchmarking::Config for Runtime {}
21412142

2143+
let mut whitelist: Vec<TrackedStorageKey> = AllPalletsWithSystem::whitelisted_storage_keys();
2144+
let treasury_key = frame_system::Account::<Runtime>::hashed_key_for(Treasury::account_id());
2145+
whitelist.push(treasury_key.to_vec().into());
2146+
21422147
impl pallet_xcm_benchmarks::Config for Runtime {
21432148
type XcmConfig = XcmConfig;
21442149
type AccountIdConverter = SovereignAccountOf;
@@ -2223,21 +2228,6 @@ sp_api::impl_runtime_apis! {
22232228
}
22242229
}
22252230

2226-
let whitelist: Vec<TrackedStorageKey> = vec![
2227-
// Block Number
2228-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(),
2229-
// Total Issuance
2230-
hex_literal::hex!("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80").to_vec().into(),
2231-
// Execution Phase
2232-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a").to_vec().into(),
2233-
// Event Count
2234-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850").to_vec().into(),
2235-
// System Events
2236-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(),
2237-
// Treasury Account
2238-
hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da95ecffd7b6c0f78751baa9d281e0bfa3a6d6f646c70792f74727372790000000000000000000000000000000000000000").to_vec().into(),
2239-
];
2240-
22412231
let mut batches = Vec::<BenchmarkBatch>::new();
22422232
let params = (&config, &whitelist);
22432233

@@ -2426,7 +2416,11 @@ mod test_fees {
24262416

24272417
#[cfg(test)]
24282418
mod test {
2419+
use std::collections::HashSet;
2420+
24292421
use super::*;
2422+
use frame_support::traits::WhitelistedStorageKeys;
2423+
use sp_core::hexdisplay::HexDisplay;
24302424

24312425
#[test]
24322426
fn call_size() {
@@ -2438,6 +2432,43 @@ mod test {
24382432
);
24392433
}
24402434

2435+
#[test]
2436+
fn check_whitelist() {
2437+
let whitelist: HashSet<String> = AllPalletsWithSystem::whitelisted_storage_keys()
2438+
.iter()
2439+
.map(|e| HexDisplay::from(&e.key).to_string())
2440+
.collect();
2441+
2442+
// Block number
2443+
assert!(
2444+
whitelist.contains("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac")
2445+
);
2446+
// Total issuance
2447+
assert!(
2448+
whitelist.contains("c2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80")
2449+
);
2450+
// Execution phase
2451+
assert!(
2452+
whitelist.contains("26aa394eea5630e07c48ae0c9558cef7ff553b5a9862a516939d82b3d3d8661a")
2453+
);
2454+
// Event count
2455+
assert!(
2456+
whitelist.contains("26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850")
2457+
);
2458+
// System events
2459+
assert!(
2460+
whitelist.contains("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7")
2461+
);
2462+
// XcmPallet VersionDiscoveryQueue
2463+
assert!(
2464+
whitelist.contains("1405f2411d0af5a7ff397e7c9dc68d194a222ba0333561192e474c59ed8e30e1")
2465+
);
2466+
// XcmPallet SafeXcmVersion
2467+
assert!(
2468+
whitelist.contains("1405f2411d0af5a7ff397e7c9dc68d196323ae84c43568be0d1394d5d0d522c4")
2469+
);
2470+
}
2471+
24412472
#[test]
24422473
fn max_upward_message_size() {
24432474
assert_eq!(

runtime/polkadot/src/weights/pallet_xcm.rs

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@
2323
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
2424
2525
// Executed Command:
26-
// ./target/production/polkadot
26+
// target/production/polkadot
2727
// benchmark
2828
// pallet
29-
// --chain=polkadot-dev
3029
// --steps=50
3130
// --repeat=20
3231
// --no-storage-info
@@ -36,6 +35,10 @@
3635
// --extrinsic=*
3736
// --execution=wasm
3837
// --wasm-execution=compiled
38+
// --heap-pages=4096
39+
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
40+
// --pallet=pallet_xcm
41+
// --chain=polkadot-dev
3942
// --header=./file_header.txt
4043
// --output=./runtime/polkadot/src/weights/
4144

@@ -56,10 +59,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
5659
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
5760
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
5861
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
59-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
60-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
61-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
62-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
6362
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
6463
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
6564
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
@@ -111,16 +110,13 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
111110
.saturating_add(Weight::from_parts(0, 0))
112111
.saturating_add(T::DbWeight::get().writes(1))
113112
}
114-
/// Storage: XcmPallet SafeXcmVersion (r:0 w:1)
115-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
116113
fn force_default_xcm_version() -> Weight {
117114
// Proof Size summary in bytes:
118115
// Measured: `0`
119116
// Estimated: `0`
120117
// Minimum execution time: 2_769_000 picoseconds.
121118
Weight::from_parts(3_001_000, 0)
122119
.saturating_add(Weight::from_parts(0, 0))
123-
.saturating_add(T::DbWeight::get().writes(1))
124120
}
125121
/// Storage: XcmPallet VersionNotifiers (r:1 w:1)
126122
/// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured)
@@ -132,10 +128,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
132128
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
133129
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
134130
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
135-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
136-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
137-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
138-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
139131
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
140132
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
141133
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
@@ -160,10 +152,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
160152
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
161153
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
162154
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
163-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
164-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
165-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
166-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
167155
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
168156
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
169157
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
@@ -234,10 +222,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
234222
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
235223
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
236224
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
237-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
238-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
239-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
240-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
241225
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
242226
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
243227
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
@@ -283,10 +267,6 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
283267
/// Proof Skipped: Dmp DeliveryFeeFactor (max_values: None, max_size: None, mode: Measured)
284268
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
285269
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
286-
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
287-
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
288-
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
289-
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
290270
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
291271
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
292272
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)

0 commit comments

Comments
 (0)