mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 19:51:05 +00:00
Breakdown the Router module on Dmp, Ump, Hrmp modules (#1939)
* Guide: Split router module in guide. Now we have: DMP, UMP and Router module. * Add a glossary entry for what used to be called Router * Extract DMP * Extract UMP * Extract HRMP * Switch over to new modules * Router: goodbye sweet prince * Link to messaging overview for details. * Update missed rococo and test runtimes. * Commit destroyed by rebase changes * Don't deprecate Router but rather make it a meta-project Co-authored-by: Bernhard Schuster <bernhard@ahoi.io> * Fix typos suggestion Co-authored-by: Bernhard Schuster <bernhard@ahoi.io> * Fix repetition in the impl guide * Clarify that processed_downward_messages has the u32 type * Remove the router subdir. * Deabbreviate DMP,UMP,HRMP Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>
This commit is contained in:
@@ -73,7 +73,9 @@ use runtime_parachains::inclusion as parachains_inclusion;
|
||||
use runtime_parachains::inclusion_inherent as parachains_inclusion_inherent;
|
||||
use runtime_parachains::initializer as parachains_initializer;
|
||||
use runtime_parachains::paras as parachains_paras;
|
||||
use runtime_parachains::router as parachains_router;
|
||||
use runtime_parachains::dmp as parachains_dmp;
|
||||
use runtime_parachains::ump as parachains_ump;
|
||||
use runtime_parachains::hrmp as parachains_hrmp;
|
||||
use runtime_parachains::scheduler as parachains_scheduler;
|
||||
|
||||
pub use pallet_balances::Call as BalancesCall;
|
||||
@@ -184,7 +186,9 @@ construct_runtime! {
|
||||
Scheduler: parachains_scheduler::{Module, Call, Storage},
|
||||
Paras: parachains_paras::{Module, Call, Storage},
|
||||
Initializer: parachains_initializer::{Module, Call, Storage},
|
||||
Router: parachains_router::{Module, Call, Storage},
|
||||
Dmp: parachains_dmp::{Module, Call, Storage},
|
||||
Ump: parachains_ump::{Module, Call, Storage},
|
||||
Hrmp: parachains_hrmp::{Module, Call, Storage},
|
||||
|
||||
Registrar: paras_registrar::{Module, Call, Storage},
|
||||
ParasSudoWrapper: paras_sudo_wrapper::{Module, Call},
|
||||
@@ -532,11 +536,16 @@ impl parachains_paras::Trait for Runtime {
|
||||
type Origin = Origin;
|
||||
}
|
||||
|
||||
impl parachains_router::Trait for Runtime {
|
||||
type Origin = Origin;
|
||||
impl parachains_ump::Trait for Runtime {
|
||||
type UmpSink = (); // TODO: #1873 To be handled by the XCM receiver.
|
||||
}
|
||||
|
||||
impl parachains_dmp::Trait for Runtime {}
|
||||
|
||||
impl parachains_hrmp::Trait for Runtime {
|
||||
type Origin = Origin;
|
||||
}
|
||||
|
||||
impl parachains_inclusion_inherent::Trait for Runtime {}
|
||||
|
||||
impl parachains_scheduler::Trait for Runtime {}
|
||||
|
||||
Reference in New Issue
Block a user