This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Use Message Queue pallet for UMP dispatch #6271
Merged
Merged
Changes from 14 commits
Commits
Show all changes
216 commits
Select commit
Hold shift + click to select a range
534593f
Add ProcessXcmMessage struct
gavofyork 8258780
Migrate away from weights in host config
gavofyork de6da2c
New well-known key to report UMPQ capacity
gavofyork c30a4fd
Add missing file
gavofyork 89ab8b9
Fixes
gavofyork 34b8a40
Remove original UMP files
gavofyork c7fcf41
Docs
gavofyork b074ec3
Update runtime/parachains/src/inclusion/mod.rs
gavofyork aa4b7e5
Add benchmarking
gavofyork e9a68e7
Merge branch 'gav-message-queue' of github.com:paritytech/polkadot in…
gavofyork 802eec5
Merge remote-tracking branch 'origin/master' into gav-message-queue
gavofyork 92ca0c4
Benchmarks
gavofyork 417b028
Merge remote-tracking branch 'origin/master' into gav-message-queue
gavofyork 99b4a5f
Mock example of using the QueueChangeHandler to update the WKK
gavofyork bba31ca
Use master Cargo.lock
ggwpez 9cd496d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 972f4d3
Update Cargo.lock
ggwpez e48d6ef
Update remove-weight migration
ggwpez cd5b50d
Add message- to dispatch-origin conversion for XCM processing
ggwpez 130a48a
DNM: Temporarily comment code since XCMv3 is not merged yet
ggwpez b583ddf
Use u64 for queue-wide limits on UmpAcceptanceCheckErr
ggwpez b8b0998
Define one sub-queue per *MP queue
ggwpez 435f743
Harden check_upward_messages
ggwpez 67b3136
Add type-safe well_known_keys
ggwpez bea3a0e
Add message-queue weights
ggwpez f35e2cf
Deploy MessageQueue to Polkadot
ggwpez d0ec96e
Update Cargo.toml
ggwpez 3c34375
Migrate to parachain config V5
ggwpez 63322ab
Update UMP tests
ggwpez a02df6f
Cleanup
ggwpez cdb1821
fmt
ggwpez 59dc6d7
Revert messed up merge :facepalm:
ggwpez 1019b44
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 8e2e4c3
Update remove-weight migration
ggwpez be65a1d
Add message- to dispatch-origin conversion for XCM processing
ggwpez 42b5eed
DNM: Temporarily comment code since XCMv3 is not merged yet
ggwpez 5047b69
Use u64 for queue-wide limits on UmpAcceptanceCheckErr
ggwpez 567358e
Define one sub-queue per *MP queue
ggwpez 41182cc
Harden check_upward_messages
ggwpez 76721c0
Add type-safe well_known_keys
ggwpez 1d4ab90
Add message-queue weights
ggwpez 694200c
Deploy MessageQueue to Polkadot
ggwpez 19ec4eb
Update Cargo.toml
ggwpez 55e889a
Migrate to parachain config V5
ggwpez 4f6a723
Update UMP tests
ggwpez 3448b00
Cleanup
ggwpez b88f962
fmt
ggwpez 2fce623
Make stuff compile
ggwpez d070742
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez dee2378
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez c3471d4
Move DMP and HRMP messages to the MessageQueue
ggwpez f23dec3
Diener for CI
ggwpez 0694f0a
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 5aa44a5
diener update cargo.lock
ggwpez 628d55f
Cleanup
ggwpez 0947c3c
Revert wrong changes
ggwpez 02bf965
Revert "DNM: Temporarily comment code since XCMv3 is not merged yet"
ggwpez 11745ad
Make compile
ggwpez 408c9c5
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 82a8bc1
Fixup runtimes
ggwpez ed0f034
fmt
ggwpez a810818
Define benchmarks
ggwpez 1d091a5
Cleanup
ggwpez 91e523f
Fix migration
ggwpez 0da1bc1
Use master Cargo.lock
ggwpez 25c5ab8
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 752552d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez c08a7a0
Lockfile
ggwpez 5c42d8e
Fix test
ggwpez 541c790
Add AggregateMessageOrigin
ggwpez fe5df72
Forbid UMP for off-boarding paras
ggwpez 01cb9bf
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez b8f01e1
Delete stupid test
ggwpez 86f1782
Use BoundedVec for upward messages
ggwpez d7b325b
Add weights and fix MessageProcessor
ggwpez 2aba96b
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez dd0ee2d
Bound receive_upward_messages and check bound in configuration pallet
ggwpez cf0c6ec
Bound Debug impl
ggwpez da54497
fmt
ggwpez ab3ec43
clippy
ggwpez 0713f40
Fix test runtime
ggwpez 38b506a
Fix xcm-simulator
ggwpez 5777e18
Properly fix xcm-simulator and fuzzer
ggwpez f54bfd6
Fix tests
ggwpez 50ffb2f
fmt
ggwpez f979ffc
cargo update -p sp-io
ggwpez dba85e8
Adapt to upstream Substrate changes
ggwpez 10e7fc4
Fix ProcesseMessage impls
ggwpez 7b331cc
Some tests
ggwpez 6a1f547
Use master Cargo.lock
ggwpez 90e3ebb
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 35a7dc0
cargo update -p sp-io
ggwpez 8f99357
Use new MQ API
ggwpez ebc84e9
Fix test
ggwpez 3639a33
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 6bf7613
Fix migration
ggwpez 6f93487
Update Cargo.lock
ggwpez 3ba9380
Add UMP while Para offboarding tests
ggwpez 8a0bded
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez f85531e
fmt
ggwpez b152901
Use Mocked message processor for benchmarking
ggwpez f92f041
Use variables for constants
ggwpez e4105db
Add MQ pallet weights
ggwpez 861f8d3
Use MQ pallet weights
ggwpez cdb67e0
Configure QueueChangeHandler
ggwpez 3c87b33
fmt
ggwpez 51bf97e
Add config test
ggwpez c7f6f64
Fix MQ serive weight
ggwpez 9c29f58
Cleanup
ggwpez f0d6cd8
Cleanup outgoing UMP dispatch queues
ggwpez 2c6ecee
Use Master Cargo.lock
ggwpez d04a0cc
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez a725028
Update Cargo.lock
ggwpez 7ced507
Weight mul is not const
ggwpez f6d2fa0
Clippy
ggwpez ba87c22
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 7fc3718
Remove merge marker
ggwpez 6b36873
Update runtime/parachains/src/inclusion/mod.rs
ggwpez 53cb04f
Update runtime/kusama/src/lib.rs
ggwpez 8ad38b3
Use lowercase UMP
ggwpez a50f39a
Clarify comment
ggwpez acd9b29
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 3372576
Use Weight::from_parts
ggwpez e5e7e33
Fix test
ggwpez b989dd0
Fix doc
ggwpez fac282f
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 0caef3d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 638058b
Emit event after the fact
ggwpez 34a41b1
Add defensive_proof to receive_upward_messages
ggwpez 076126f
Reapply "Remove original UMP files"
ggwpez cf1fd77
Remove old files
ggwpez 01ca8dd
Rename MaxUmpMessageLen -> MaxUmpMessageLenOf
ggwpez ed652a0
Test defensive message dropping of receive_upward_messages
ggwpez 4e7c46d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez c5db770
Fixup imports
ggwpez 0d41cb4
Update implementors guide
ggwpez ef9de05
Fix tests
ggwpez b29f2ca
Remove FAIL-CI mark
ggwpez dd76bca
Delete unused code
ggwpez b559f6d
Add another test for MQ change hook
ggwpez 62a299c
Imports
ggwpez 7d240ad
Keep Kusama runtime formatting
ggwpez 7c62e42
Revert "Delete unused code"
ggwpez 1b45cb8
Feature gate mock functions
ggwpez 90b463a
Review: Use saturating_add
ggwpez 1a964af
Test RelayDispatchQueueSize storage key
ggwpez 2da269d
Move migration to own file to avoid merge conflicts
ggwpez b7b56cc
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 89a3b74
Migration in own file
ggwpez 9ad255b
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 099e2f0
Fixup migration
ggwpez b9c15e8
Rococo: configure MQ pallet
ggwpez 88f1cbe
Fixup tests
ggwpez 32cb688
Revert "Rococo: configure MQ pallet"
ggwpez a4d1c21
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 1aab21c
Revert "Fixup tests"
ggwpez 9b3c2aa
Fixup migration
ggwpez f0c8200
Fix migration
ggwpez 968c462
fmt
ggwpez 7124a62
Fix CI
ggwpez 4b8c046
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 5967ad1
Fix migration
ggwpez 425e8a9
Fix other migration
ggwpez 530734b
Bump MAX_CODE_SIZE to 10MiB
ggwpez 28a6c59
Add ForceUpdateUmpLimits migration
ggwpez 1a4486e
fmt
ggwpez dad295e
clippy
ggwpez 9d4d351
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 24964aa
clippy
ggwpez 545d056
imports
ggwpez 4b0be4d
Use defensive instead of defensive_proof
ggwpez 79f475e
Rename to ScheduleConfigUpdate
ggwpez a17f1e8
Fixup migration checks
ggwpez 7caffb0
Add MAX_CODE_SIZE to ScheduleConfigUpdate
ggwpez 103ffba
Set MAX_CODE_SIZE to 4MiB
ggwpez 438e918
Fix benchmark
ggwpez ec8111f
Fix formatting
ggwpez bfde291
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez e366446
Revert "Add MAX_CODE_SIZE to ScheduleConfigUpdate"
ggwpez 3595684
Revert "Set MAX_CODE_SIZE to 4MiB"
ggwpez 7503530
Revert "Bump MAX_CODE_SIZE to 10MiB"
ggwpez 1519705
Remove consistency check from migration
ggwpez 1fbc01c
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 131fd38
Fix constants
ggwpez 20c21c6
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 5f8385a
Bump MAX_UPWARD_MESSAGE_SIZE_BOUND for Westend
ggwpez a4c81c5
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 4c1f5d5
Fix migrations
ggwpez 74f3178
Use old nightly for fmt
ggwpez 37bba27
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez f829c49
Fixes
KiChjang 0c94097
cargo fmt
KiChjang adc9473
Fix tests
ggwpez d858fde
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez 031d40c
Fix tests
ggwpez c3d046d
Fixes
KiChjang 31bb588
Add MQ pallet to fuzzer
ggwpez a326a28
Fmt
ggwpez c253fdc
Fix XMC simulator example
ggwpez e1f2bb0
Remove runtime-benchmarks from fuzzers
ggwpez 1e5e9a2
Revert "Remove runtime-benchmarks from fuzzers"
ggwpez d9537da
Fix example simulator
ggwpez 3338e7b
Add V6 migration and remove old ones
ggwpez 5c9cb08
Actually make old migrations reusable
ggwpez 181da58
Dont delete old migrations
ggwpez 9ad4c35
Future proof AggregateMessageOrigin and review fixes
ggwpez 8d3b806
More cleanup
ggwpez 69dcd7b
fmt
ggwpez e2210a8
fix benchmarks
ggwpez 117bca9
Fix fuzzer build
ggwpez 9debdda
Review
ggwpez 6b51601
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez dd0be23
Remove old migration
ggwpez 583eaaa
Set MQ service weight to 20%
ggwpez ad9b579
Fix tabs in Markdown
ggwpez efc6a9d
Merge remote-tracking branch 'origin/master' into gav-message-queue
ggwpez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.