This repository has been 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.6k
UMP: Support Overweight messages #3575
Merged
Merged
Changes from 24 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b0f1de0
Introduce new config: ump_max_individual_weight
pepyakin fe3ef6b
Implement overweight msg stashing
pepyakin be125f3
Test
pepyakin 093455b
Add migration module.
pepyakin 35deb5c
Integrate ExecuteOverweightOrigin to runtimes
pepyakin be55e53
Fix more stuff
pepyakin 5a4de33
Add `yeet` into dictionary
pepyakin 52f65da
Use suggested `Error` variant names
pepyakin bb1721d
typo
pepyakin 88f458f
Use 20ms as the maximum individual message weight
pepyakin 2824aa9
Update the test value
pepyakin 14bf5ba
rustfmt
pepyakin 5346161
Clean up
pepyakin c2c57c1
Merge branch 'master' into ser-ump-overweight
pepyakin 5b77e2f
Remove deprecated field from host config
pepyakin 213d60e
Remove missed _hrmp_open_request_ttl
pepyakin f75e7a8
Apply typo fix suggestion
pepyakin 56f9a04
Rename `migration::migrate_to_latest`
pepyakin 7bc31f0
Restore `_hrmp_open_request_ttl` in `v0::HostConfiguration`
pepyakin 7236e5e
Apply suggestion for a rustdoc
pepyakin 27a6a11
Apply the suggestion
pepyakin 45295ca
Test v0 config with the raw production data fetched from Kusama
pepyakin ec2a02d
Update runtime/parachains/src/ump.rs
pepyakin f943546
Expose migration functions
pepyakin ec96365
Merge branch 'master' into ser-ump-overweight
shawntabrizi dff100f
Fix spellcheck
KiChjang 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
This file contains 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might make sense to use sth like
MoreThanHalfCouncil
or similar? Otherwise we'd need a democracy proposal, no?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not feel confident answering this.
I am actually wondering why don't we allow for anyone to dispatch an overweight item given that the transaction supplies enough weight.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, you could probably relax it even more