Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
b0f1de0
Introduce new config: ump_max_individual_weight
pepyakin Aug 4, 2021
fe3ef6b
Implement overweight msg stashing
pepyakin Aug 4, 2021
be125f3
Test
pepyakin Aug 4, 2021
093455b
Add migration module.
pepyakin Aug 5, 2021
35deb5c
Integrate ExecuteOverweightOrigin to runtimes
pepyakin Aug 5, 2021
be55e53
Fix more stuff
pepyakin Aug 5, 2021
5a4de33
Add `yeet` into dictionary
pepyakin Aug 5, 2021
52f65da
Use suggested `Error` variant names
pepyakin Sep 1, 2021
bb1721d
typo
pepyakin Sep 1, 2021
88f458f
Use 20ms as the maximum individual message weight
pepyakin Sep 1, 2021
2824aa9
Update the test value
pepyakin Sep 1, 2021
14bf5ba
rustfmt
pepyakin Sep 9, 2021
5346161
Clean up
pepyakin Sep 9, 2021
c2c57c1
Merge branch 'master' into ser-ump-overweight
pepyakin Sep 9, 2021
5b77e2f
Remove deprecated field from host config
pepyakin Sep 9, 2021
213d60e
Remove missed _hrmp_open_request_ttl
pepyakin Sep 9, 2021
f75e7a8
Apply typo fix suggestion
pepyakin Sep 13, 2021
56f9a04
Rename `migration::migrate_to_latest`
pepyakin Sep 13, 2021
7bc31f0
Restore `_hrmp_open_request_ttl` in `v0::HostConfiguration`
pepyakin Sep 13, 2021
7236e5e
Apply suggestion for a rustdoc
pepyakin Sep 13, 2021
27a6a11
Apply the suggestion
pepyakin Sep 13, 2021
45295ca
Test v0 config with the raw production data fetched from Kusama
pepyakin Sep 13, 2021
ec2a02d
Update runtime/parachains/src/ump.rs
pepyakin Sep 13, 2021
f943546
Expose migration functions
pepyakin Sep 13, 2021
ec96365
Merge branch 'master' into ser-ump-overweight
shawntabrizi Sep 15, 2021
dff100f
Fix spellcheck
KiChjang Sep 15, 2021
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
Fix more stuff
  • Loading branch information
pepyakin committed Sep 9, 2021
commit be55e53b0c546624bb384795d91b4c9b39a7b6ed
2 changes: 1 addition & 1 deletion runtime/test-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ impl parachains_ump::Config for Runtime {
type Event = Event;
type UmpSink = ();
type FirstMessageFactorPercent = FirstMessageFactorPercent;
type ExecuteOverweightOrigin = EnsureRoot<AccountId>;
type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions xcm/xcm-simulator/example/src/relay_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ impl ump::Config for Runtime {
type Event = Event;
type UmpSink = ump::XcmSink<XcmExecutor<XcmConfig>, Runtime>;
type FirstMessageFactorPercent = FirstMessageFactorPercent;
type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;
}

impl origin::Config for Runtime {}
Expand Down