Support overweight messages in XCMP queue (#799)

* Support overweight messages in XCMP queue

* Add storage migration logic to XCMP queue pallet

* Check whether required weight is larger than max individual weight first

* cargo fmt

* Add some unit tests

* Remove review question comment
This commit is contained in:
Keith Yeung authored and GitHub committed 2021-12-08 18:07:08 -08:00
1 parent e543545f03
commit b5a7ab4d12
9 files changed
+283 -18

No files matched your search

+1
View File
@@ -521,6 +521,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime {
type XcmExecutor = XcmExecutor<XcmConfig>;
type ChannelInfo = ParachainSystem;
type VersionWrapper = ();
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
}
impl cumulus_pallet_dmp_queue::Config for Runtime {