Skip to content

Commit

Permalink
runtimes: add missing reserve_withdraw_assets in pallet_xcm::WeightInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
acatangiu committed Sep 8, 2023
1 parent 68a8dae commit a6cf8c2
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(1))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(20_000_000, 0)
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: `Benchmark::Override` (r:0 w:0)
/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(1))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(20_000_000, 0)
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: `Benchmark::Override` (r:0 w:0)
/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(1))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(20_000_000, 0)
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn execute() -> Weight {
// Proof Size summary in bytes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
Weight::from_parts(18_446_744_073_709_551_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: `Benchmark::Override` (r:0 w:0)
/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn execute() -> Weight {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
Weight::from_parts(18_446_744_073_709_551_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: `Benchmark::Override` (r:0 w:0)
/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn execute() -> Weight {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
Weight::from_parts(18_446_744_073_709_551_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: `Benchmark::Override` (r:0 w:0)
/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn execute() -> Weight {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
Weight::from_parts(18_446_744_073_709_551_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: `Benchmark::Override` (r:0 w:0)
/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn execute() -> Weight {
Expand Down
4 changes: 4 additions & 0 deletions polkadot/runtime/kusama/src/weights/pallet_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
Weight::from_parts(22_407_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn execute() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
Expand Down
12 changes: 12 additions & 0 deletions polkadot/runtime/polkadot/src/weights/pallet_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
Weight::from_parts(23_138_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn reserve_wi_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 22_672_000 picoseconds.
Weight::from_parts(23_138_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: Benchmark Override (r:0 w:0)
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
fn execute() -> Weight {
Expand Down
4 changes: 4 additions & 0 deletions polkadot/runtime/rococo/src/weights/pallet_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
Weight::from_parts(21_768_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn execute() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
Expand Down
4 changes: 4 additions & 0 deletions polkadot/runtime/westend/src/weights/pallet_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
Weight::from_parts(21_942_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn reserve_withdraw_assets() -> Weight {
Weight::from_parts(23_000_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: Benchmark Override (r:0 w:0)
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
fn execute() -> Weight {
Expand Down

0 comments on commit a6cf8c2

Please sign in to comment.