Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update missed rococo and test runtimes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyakin committed Nov 11, 2020
1 parent 8e37d00 commit 536a914
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
17 changes: 13 additions & 4 deletions runtime/rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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},
Expand Down Expand Up @@ -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 {}
Expand Down
13 changes: 10 additions & 3 deletions runtime/test-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ use polkadot_runtime_parachains::inclusion as parachains_inclusion;
use polkadot_runtime_parachains::inclusion_inherent as parachains_inclusion_inherent;
use polkadot_runtime_parachains::initializer as parachains_initializer;
use polkadot_runtime_parachains::paras as parachains_paras;
use polkadot_runtime_parachains::router as parachains_router;
use polkadot_runtime_parachains::dmp as parachains_dmp;
use polkadot_runtime_parachains::ump as parachains_ump;
use polkadot_runtime_parachains::hrmp as parachains_hrmp;
use polkadot_runtime_parachains::scheduler as parachains_scheduler;
use polkadot_runtime_parachains::runtime_api_impl::v1 as runtime_impl;

Expand Down Expand Up @@ -459,11 +461,16 @@ impl parachains_paras::Trait for Runtime {
type Origin = Origin;
}

impl parachains_router::Trait for Runtime {
type Origin = Origin;
impl parachains_dmp::Trait for Runtime {}

impl parachains_ump::Trait for Runtime {
type UmpSink = ();
}

impl parachains_hrmp::Trait for Runtime {
type Origin = Origin;
}

impl parachains_scheduler::Trait for Runtime {}

impl paras_sudo_wrapper::Trait for Runtime {}
Expand Down

0 comments on commit 536a914

Please sign in to comment.