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

Use Message Queue pallet for UMP dispatch #6271

Merged
merged 216 commits into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
534593f
Add ProcessXcmMessage struct
gavofyork Nov 1, 2022
8258780
Migrate away from weights in host config
gavofyork Nov 11, 2022
de6da2c
New well-known key to report UMPQ capacity
gavofyork Nov 11, 2022
c30a4fd
Add missing file
gavofyork Nov 11, 2022
89ab8b9
Fixes
gavofyork Nov 11, 2022
34b8a40
Remove original UMP files
gavofyork Nov 11, 2022
c7fcf41
Docs
gavofyork Nov 11, 2022
b074ec3
Update runtime/parachains/src/inclusion/mod.rs
gavofyork Nov 14, 2022
aa4b7e5
Add benchmarking
gavofyork Nov 14, 2022
e9a68e7
Merge branch 'gav-message-queue' of github.com:paritytech/polkadot in…
gavofyork Nov 14, 2022
802eec5
Merge remote-tracking branch 'origin/master' into gav-message-queue
gavofyork Nov 14, 2022
92ca0c4
Benchmarks
gavofyork Nov 14, 2022
417b028
Merge remote-tracking branch 'origin/master' into gav-message-queue
gavofyork Nov 15, 2022
99b4a5f
Mock example of using the QueueChangeHandler to update the WKK
gavofyork Nov 15, 2022
bba31ca
Use master Cargo.lock
ggwpez Jan 9, 2023
9cd496d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Jan 9, 2023
972f4d3
Update Cargo.lock
ggwpez Jan 11, 2023
e48d6ef
Update remove-weight migration
ggwpez Jan 11, 2023
cd5b50d
Add message- to dispatch-origin conversion for XCM processing
ggwpez Jan 11, 2023
130a48a
DNM: Temporarily comment code since XCMv3 is not merged yet
ggwpez Jan 11, 2023
b583ddf
Use u64 for queue-wide limits on UmpAcceptanceCheckErr
ggwpez Jan 11, 2023
b8b0998
Define one sub-queue per *MP queue
ggwpez Jan 11, 2023
435f743
Harden check_upward_messages
ggwpez Jan 11, 2023
67b3136
Add type-safe well_known_keys
ggwpez Jan 11, 2023
bea3a0e
Add message-queue weights
ggwpez Jan 11, 2023
f35e2cf
Deploy MessageQueue to Polkadot
ggwpez Jan 11, 2023
d0ec96e
Update Cargo.toml
ggwpez Jan 11, 2023
3c34375
Migrate to parachain config V5
ggwpez Jan 11, 2023
63322ab
Update UMP tests
ggwpez Jan 11, 2023
a02df6f
Cleanup
ggwpez Jan 11, 2023
cdb1821
fmt
ggwpez Jan 11, 2023
59dc6d7
Revert messed up merge :facepalm:
ggwpez Jan 11, 2023
1019b44
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Jan 11, 2023
8e2e4c3
Update remove-weight migration
ggwpez Jan 11, 2023
be65a1d
Add message- to dispatch-origin conversion for XCM processing
ggwpez Jan 11, 2023
42b5eed
DNM: Temporarily comment code since XCMv3 is not merged yet
ggwpez Jan 11, 2023
5047b69
Use u64 for queue-wide limits on UmpAcceptanceCheckErr
ggwpez Jan 11, 2023
567358e
Define one sub-queue per *MP queue
ggwpez Jan 11, 2023
41182cc
Harden check_upward_messages
ggwpez Jan 11, 2023
76721c0
Add type-safe well_known_keys
ggwpez Jan 11, 2023
1d4ab90
Add message-queue weights
ggwpez Jan 11, 2023
694200c
Deploy MessageQueue to Polkadot
ggwpez Jan 11, 2023
19ec4eb
Update Cargo.toml
ggwpez Jan 11, 2023
55e889a
Migrate to parachain config V5
ggwpez Jan 11, 2023
4f6a723
Update UMP tests
ggwpez Jan 11, 2023
3448b00
Cleanup
ggwpez Jan 11, 2023
b88f962
fmt
ggwpez Jan 11, 2023
2fce623
Make stuff compile
ggwpez Jan 11, 2023
d070742
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Jan 23, 2023
dee2378
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Jan 24, 2023
c3471d4
Move DMP and HRMP messages to the MessageQueue
ggwpez Jan 24, 2023
f23dec3
Diener for CI
ggwpez Jan 24, 2023
0694f0a
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Jan 24, 2023
5aa44a5
diener update cargo.lock
ggwpez Jan 24, 2023
628d55f
Cleanup
ggwpez Jan 24, 2023
0947c3c
Revert wrong changes
ggwpez Feb 1, 2023
02bf965
Revert "DNM: Temporarily comment code since XCMv3 is not merged yet"
ggwpez Feb 1, 2023
11745ad
Make compile
ggwpez Feb 1, 2023
408c9c5
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Feb 1, 2023
82a8bc1
Fixup runtimes
ggwpez Feb 1, 2023
ed0f034
fmt
ggwpez Feb 1, 2023
a810818
Define benchmarks
ggwpez Feb 1, 2023
1d091a5
Cleanup
ggwpez Feb 2, 2023
91e523f
Fix migration
ggwpez Feb 2, 2023
0da1bc1
Use master Cargo.lock
ggwpez Feb 2, 2023
25c5ab8
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Feb 2, 2023
752552d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Feb 2, 2023
c08a7a0
Lockfile
ggwpez Feb 2, 2023
5c42d8e
Fix test
ggwpez Feb 2, 2023
541c790
Add AggregateMessageOrigin
ggwpez Feb 23, 2023
fe5df72
Forbid UMP for off-boarding paras
ggwpez Feb 23, 2023
01cb9bf
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Feb 23, 2023
b8f01e1
Delete stupid test
ggwpez Feb 23, 2023
86f1782
Use BoundedVec for upward messages
ggwpez Feb 23, 2023
d7b325b
Add weights and fix MessageProcessor
ggwpez Feb 23, 2023
2aba96b
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Feb 23, 2023
dd0ee2d
Bound receive_upward_messages and check bound in configuration pallet
ggwpez Feb 23, 2023
cf0c6ec
Bound Debug impl
ggwpez Feb 23, 2023
da54497
fmt
ggwpez Feb 23, 2023
ab3ec43
clippy
ggwpez Feb 23, 2023
0713f40
Fix test runtime
ggwpez Feb 23, 2023
38b506a
Fix xcm-simulator
ggwpez Feb 24, 2023
5777e18
Properly fix xcm-simulator and fuzzer
ggwpez Feb 24, 2023
f54bfd6
Fix tests
ggwpez Feb 24, 2023
50ffb2f
fmt
ggwpez Feb 24, 2023
f979ffc
cargo update -p sp-io
ggwpez Feb 25, 2023
dba85e8
Adapt to upstream Substrate changes
ggwpez Feb 25, 2023
10e7fc4
Fix ProcesseMessage impls
ggwpez Feb 25, 2023
7b331cc
Some tests
ggwpez Feb 25, 2023
6a1f547
Use master Cargo.lock
ggwpez Feb 25, 2023
90e3ebb
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Feb 25, 2023
35a7dc0
cargo update -p sp-io
ggwpez Feb 25, 2023
8f99357
Use new MQ API
ggwpez Feb 28, 2023
ebc84e9
Fix test
ggwpez Feb 28, 2023
3639a33
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Feb 28, 2023
6bf7613
Fix migration
ggwpez Feb 28, 2023
6f93487
Update Cargo.lock
ggwpez Feb 28, 2023
3ba9380
Add UMP while Para offboarding tests
ggwpez Feb 28, 2023
8a0bded
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Feb 28, 2023
f85531e
fmt
ggwpez Feb 28, 2023
b152901
Use Mocked message processor for benchmarking
ggwpez Feb 28, 2023
f92f041
Use variables for constants
ggwpez Feb 28, 2023
e4105db
Add MQ pallet weights
ggwpez Feb 28, 2023
861f8d3
Use MQ pallet weights
ggwpez Feb 28, 2023
cdb67e0
Configure QueueChangeHandler
ggwpez Feb 28, 2023
3c87b33
fmt
ggwpez Feb 28, 2023
51bf97e
Add config test
ggwpez Feb 28, 2023
c7f6f64
Fix MQ serive weight
ggwpez Feb 28, 2023
9c29f58
Cleanup
ggwpez Feb 28, 2023
f0d6cd8
Cleanup outgoing UMP dispatch queues
ggwpez Feb 28, 2023
2c6ecee
Use Master Cargo.lock
ggwpez Feb 28, 2023
d04a0cc
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Feb 28, 2023
a725028
Update Cargo.lock
ggwpez Feb 28, 2023
7ced507
Weight mul is not const
ggwpez Feb 28, 2023
f6d2fa0
Clippy
ggwpez Feb 28, 2023
ba87c22
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Mar 3, 2023
7fc3718
Remove merge marker
ggwpez Mar 3, 2023
6b36873
Update runtime/parachains/src/inclusion/mod.rs
ggwpez Mar 3, 2023
53cb04f
Update runtime/kusama/src/lib.rs
ggwpez Mar 9, 2023
8ad38b3
Use lowercase UMP
ggwpez Mar 9, 2023
a50f39a
Clarify comment
ggwpez Mar 9, 2023
acd9b29
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Mar 9, 2023
3372576
Use Weight::from_parts
ggwpez Mar 9, 2023
e5e7e33
Fix test
ggwpez Mar 9, 2023
b989dd0
Fix doc
ggwpez Mar 16, 2023
fac282f
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Mar 16, 2023
0caef3d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Mar 17, 2023
638058b
Emit event after the fact
ggwpez Mar 22, 2023
34a41b1
Add defensive_proof to receive_upward_messages
ggwpez Mar 22, 2023
076126f
Reapply "Remove original UMP files"
ggwpez Nov 11, 2022
cf1fd77
Remove old files
ggwpez Mar 22, 2023
01ca8dd
Rename MaxUmpMessageLen -> MaxUmpMessageLenOf
ggwpez Mar 22, 2023
ed652a0
Test defensive message dropping of receive_upward_messages
ggwpez Mar 22, 2023
4e7c46d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Mar 22, 2023
c5db770
Fixup imports
ggwpez Mar 22, 2023
0d41cb4
Update implementors guide
ggwpez Mar 22, 2023
ef9de05
Fix tests
ggwpez Mar 22, 2023
b29f2ca
Remove FAIL-CI mark
ggwpez Mar 22, 2023
dd76bca
Delete unused code
ggwpez Mar 22, 2023
b559f6d
Add another test for MQ change hook
ggwpez Mar 22, 2023
62a299c
Imports
ggwpez Mar 22, 2023
7d240ad
Keep Kusama runtime formatting
ggwpez Mar 22, 2023
7c62e42
Revert "Delete unused code"
ggwpez Mar 22, 2023
1b45cb8
Feature gate mock functions
ggwpez Mar 22, 2023
90b463a
Review: Use saturating_add
ggwpez Mar 22, 2023
1a964af
Test RelayDispatchQueueSize storage key
ggwpez Apr 5, 2023
2da269d
Move migration to own file to avoid merge conflicts
ggwpez Apr 6, 2023
b7b56cc
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Apr 6, 2023
89a3b74
Migration in own file
ggwpez Apr 6, 2023
9ad255b
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Apr 11, 2023
099e2f0
Fixup migration
ggwpez Apr 11, 2023
b9c15e8
Rococo: configure MQ pallet
ggwpez Apr 11, 2023
88f1cbe
Fixup tests
ggwpez Apr 11, 2023
32cb688
Revert "Rococo: configure MQ pallet"
ggwpez Apr 13, 2023
a4d1c21
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Apr 13, 2023
1aab21c
Revert "Fixup tests"
ggwpez Apr 13, 2023
9b3c2aa
Fixup migration
ggwpez Apr 13, 2023
f0c8200
Fix migration
ggwpez Apr 13, 2023
968c462
fmt
ggwpez Apr 13, 2023
7124a62
Fix CI
ggwpez Apr 13, 2023
4b8c046
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Apr 14, 2023
5967ad1
Fix migration
ggwpez Apr 14, 2023
425e8a9
Fix other migration
ggwpez Apr 17, 2023
530734b
Bump MAX_CODE_SIZE to 10MiB
ggwpez Apr 19, 2023
28a6c59
Add ForceUpdateUmpLimits migration
ggwpez Apr 19, 2023
1a4486e
fmt
ggwpez Apr 19, 2023
dad295e
clippy
ggwpez Apr 19, 2023
9d4d351
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Apr 19, 2023
24964aa
clippy
ggwpez Apr 19, 2023
545d056
imports
ggwpez Apr 19, 2023
4b0be4d
Use defensive instead of defensive_proof
ggwpez Apr 19, 2023
79f475e
Rename to ScheduleConfigUpdate
ggwpez Apr 20, 2023
a17f1e8
Fixup migration checks
ggwpez Apr 20, 2023
7caffb0
Add MAX_CODE_SIZE to ScheduleConfigUpdate
ggwpez Apr 20, 2023
103ffba
Set MAX_CODE_SIZE to 4MiB
ggwpez Apr 20, 2023
438e918
Fix benchmark
ggwpez Apr 21, 2023
ec8111f
Fix formatting
ggwpez Apr 21, 2023
bfde291
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Apr 25, 2023
e366446
Revert "Add MAX_CODE_SIZE to ScheduleConfigUpdate"
ggwpez Apr 25, 2023
3595684
Revert "Set MAX_CODE_SIZE to 4MiB"
ggwpez Apr 25, 2023
7503530
Revert "Bump MAX_CODE_SIZE to 10MiB"
ggwpez Apr 25, 2023
1519705
Remove consistency check from migration
ggwpez Apr 25, 2023
1fbc01c
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez Apr 27, 2023
131fd38
Fix constants
ggwpez Apr 28, 2023
20c21c6
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez May 2, 2023
5f8385a
Bump MAX_UPWARD_MESSAGE_SIZE_BOUND for Westend
ggwpez May 2, 2023
a4c81c5
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez May 8, 2023
4c1f5d5
Fix migrations
ggwpez May 8, 2023
74f3178
Use old nightly for fmt
ggwpez May 8, 2023
37bba27
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez May 10, 2023
f829c49
Fixes
KiChjang May 12, 2023
0c94097
cargo fmt
KiChjang May 12, 2023
adc9473
Fix tests
ggwpez May 12, 2023
d858fde
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez May 12, 2023
031d40c
Fix tests
ggwpez May 12, 2023
c3d046d
Fixes
KiChjang May 12, 2023
31bb588
Add MQ pallet to fuzzer
ggwpez May 12, 2023
a326a28
Fmt
ggwpez May 12, 2023
c253fdc
Fix XMC simulator example
ggwpez May 12, 2023
e1f2bb0
Remove runtime-benchmarks from fuzzers
ggwpez May 12, 2023
1e5e9a2
Revert "Remove runtime-benchmarks from fuzzers"
ggwpez May 12, 2023
d9537da
Fix example simulator
ggwpez May 12, 2023
3338e7b
Add V6 migration and remove old ones
ggwpez May 12, 2023
5c9cb08
Actually make old migrations reusable
ggwpez May 12, 2023
181da58
Dont delete old migrations
ggwpez May 12, 2023
9ad4c35
Future proof AggregateMessageOrigin and review fixes
ggwpez May 13, 2023
8d3b806
More cleanup
ggwpez May 13, 2023
69dcd7b
fmt
ggwpez May 13, 2023
e2210a8
fix benchmarks
ggwpez May 13, 2023
117bca9
Fix fuzzer build
ggwpez May 13, 2023
9debdda
Review
ggwpez May 16, 2023
6b51601
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez May 17, 2023
dd0be23
Remove old migration
ggwpez May 19, 2023
583eaaa
Set MQ service weight to 20%
ggwpez May 19, 2023
ad9b579
Fix tabs in Markdown
ggwpez May 19, 2023
efc6a9d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez May 19, 2023
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
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/master' into gav-message-queue
  • Loading branch information
ggwpez committed Feb 28, 2023
commit 8a0bdedaf6eafc7c2215f70921d87e58bdbaeac6
18 changes: 9 additions & 9 deletions runtime/kusama/constants/src/weights/block_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-23 (Y/M/D)
//! DATE: 2023-02-28 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
Expand Down Expand Up @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 9_063_597, 9_605_760
/// Average: 9_225_024
/// Median: 9_197_375
/// Std-Dev: 83325.89
/// Min, Max: 9_120_818, 9_607_011
/// Average: 9_246_456
/// Median: 9_232_819
/// Std-Dev: 75654.75
///
/// Percentiles nanoseconds:
/// 99th: 9_437_618
/// 95th: 9_402_155
/// 75th: 9_250_717
/// 99th: 9_433_167
/// 95th: 9_411_822
/// 75th: 9_272_878
pub const BlockExecutionWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(9_225_024));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(9_246_456));
}

#[cfg(test)]
Expand Down
18 changes: 9 additions & 9 deletions runtime/kusama/constants/src/weights/extrinsic_weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-23 (Y/M/D)
//! DATE: 2023-02-28 (Y/M/D)
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
Expand Down Expand Up @@ -42,17 +42,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 99_280, 101_585
/// Average: 99_912
/// Median: 99_844
/// Std-Dev: 361.48
/// Min, Max: 103_518, 106_907
/// Average: 104_517
/// Median: 104_438
/// Std-Dev: 475.03
///
/// Percentiles nanoseconds:
/// 99th: 101_439
/// 95th: 100_633
/// 75th: 99_966
/// 99th: 106_279
/// 95th: 105_257
/// 75th: 104_647
pub const ExtrinsicBaseWeight: Weight =
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_912));
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(104_517));
}

#[cfg(test)]
Expand Down
30 changes: 15 additions & 15 deletions runtime/kusama/src/weights/frame_benchmarking_baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -50,54 +50,54 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 115 nanoseconds.
Weight::from_ref_time(156_869)
// Minimum execution time: 169 nanoseconds.
Weight::from_ref_time(211_793)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 126 nanoseconds.
Weight::from_ref_time(163_413)
// Minimum execution time: 172 nanoseconds.
Weight::from_ref_time(210_656)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 125 nanoseconds.
Weight::from_ref_time(165_700)
// Minimum execution time: 173 nanoseconds.
Weight::from_ref_time(216_851)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 114 nanoseconds.
Weight::from_ref_time(160_757)
// Minimum execution time: 171 nanoseconds.
Weight::from_ref_time(210_747)
.saturating_add(Weight::from_proof_size(0))
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 20_199_657 nanoseconds.
Weight::from_ref_time(20_348_638_000)
// Minimum execution time: 24_801_107 nanoseconds.
Weight::from_ref_time(25_036_984_000)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 146 nanoseconds.
Weight::from_ref_time(181_000)
// Minimum execution time: 197 nanoseconds.
Weight::from_ref_time(220_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 18_837
.saturating_add(Weight::from_ref_time(47_289_133).saturating_mul(i.into()))
// Standard Error: 18_400
.saturating_add(Weight::from_ref_time(47_299_555).saturating_mul(i.into()))
}
}
26 changes: 13 additions & 13 deletions runtime/kusama/src/weights/frame_election_provider_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_election_provider_support`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -52,13 +52,13 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_806_565 nanoseconds.
Weight::from_ref_time(5_866_482_000)
// Minimum execution time: 6_256_446 nanoseconds.
Weight::from_ref_time(6_327_881_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 138_296
.saturating_add(Weight::from_ref_time(5_701_761).saturating_mul(v.into()))
// Standard Error: 14_138_940
.saturating_add(Weight::from_ref_time(1_548_790_171).saturating_mul(d.into()))
// Standard Error: 140_664
.saturating_add(Weight::from_ref_time(5_840_511).saturating_mul(v.into()))
// Standard Error: 14_381_047
.saturating_add(Weight::from_ref_time(1_543_872_437).saturating_mul(d.into()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
Expand All @@ -67,12 +67,12 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_595_992 nanoseconds.
Weight::from_ref_time(4_626_336_000)
// Minimum execution time: 4_822_640 nanoseconds.
Weight::from_ref_time(4_870_840_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 149_717
.saturating_add(Weight::from_ref_time(5_673_749).saturating_mul(v.into()))
// Standard Error: 15_306_572
.saturating_add(Weight::from_ref_time(1_806_945_095).saturating_mul(d.into()))
// Standard Error: 150_173
.saturating_add(Weight::from_ref_time(5_687_544).saturating_mul(v.into()))
// Standard Error: 15_353_175
.saturating_add(Weight::from_ref_time(1_784_144_004).saturating_mul(d.into()))
}
}
42 changes: 21 additions & 21 deletions runtime/kusama/src/weights/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -50,22 +50,22 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_670 nanoseconds.
Weight::from_ref_time(1_704_000)
// Minimum execution time: 1_917 nanoseconds.
Weight::from_ref_time(1_973_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(415).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(370).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_327 nanoseconds.
Weight::from_ref_time(6_508_000)
// Minimum execution time: 7_274 nanoseconds.
Weight::from_ref_time(7_405_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_777).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(1_731).saturating_mul(b.into()))
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
Expand All @@ -75,8 +75,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 3_621 nanoseconds.
Weight::from_ref_time(3_764_000)
// Minimum execution time: 3_833 nanoseconds.
Weight::from_ref_time(3_995_000)
.saturating_add(Weight::from_proof_size(495))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -88,11 +88,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_680 nanoseconds.
Weight::from_ref_time(1_735_000)
// Minimum execution time: 1_820 nanoseconds.
Weight::from_ref_time(1_857_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1_838
.saturating_add(Weight::from_ref_time(587_349).saturating_mul(i.into()))
// Standard Error: 1_965
.saturating_add(Weight::from_ref_time(676_171).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
Expand All @@ -102,11 +102,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_693 nanoseconds.
Weight::from_ref_time(1_742_000)
// Minimum execution time: 1_856 nanoseconds.
Weight::from_ref_time(1_919_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 858
.saturating_add(Weight::from_ref_time(446_600).saturating_mul(i.into()))
// Standard Error: 850
.saturating_add(Weight::from_ref_time(484_572).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
Expand All @@ -116,11 +116,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `120 + p * (69 ±0)`
// Estimated: `121 + p * (70 ±0)`
// Minimum execution time: 3_458 nanoseconds.
Weight::from_ref_time(3_578_000)
// Minimum execution time: 3_847 nanoseconds.
Weight::from_ref_time(3_930_000)
.saturating_add(Weight::from_proof_size(121))
// Standard Error: 1_106
.saturating_add(Weight::from_ref_time(990_233).saturating_mul(p.into()))
// Standard Error: 1_032
.saturating_add(Weight::from_ref_time(1_006_925).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
Expand Down
14 changes: 7 additions & 7 deletions runtime/kusama/src/weights/pallet_bags_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_bags_list`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -57,8 +57,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1846`
// Estimated: `19186`
// Minimum execution time: 54_999 nanoseconds.
Weight::from_ref_time(55_668_000)
// Minimum execution time: 59_681 nanoseconds.
Weight::from_ref_time(60_540_000)
.saturating_add(Weight::from_proof_size(19186))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
Expand All @@ -75,8 +75,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1740`
// Estimated: `19114`
// Minimum execution time: 54_080 nanoseconds.
Weight::from_ref_time(54_660_000)
// Minimum execution time: 58_266 nanoseconds.
Weight::from_ref_time(59_035_000)
.saturating_add(Weight::from_proof_size(19114))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
Expand All @@ -95,8 +95,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `2081`
// Estimated: `25798`
// Minimum execution time: 58_444 nanoseconds.
Weight::from_ref_time(59_445_000)
// Minimum execution time: 65_043 nanoseconds.
Weight::from_ref_time(65_583_000)
.saturating_add(Weight::from_proof_size(25798))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.