Resurrect (a minimal version of) message-broker (#234)

This is mostly a copy of the predating version with exception of some
renaming and alterations (e.g. the message handler takes an inbound
downward message by value, not by reference).
This commit is contained in:
Sergei Shulepov authored and GitHub committed 2020-11-16 14:18:46 +01:00
1 parent 2662bcd3dd
commit f92e41925f
7 files changed
+124 -1

No files matched your search

+5
View File
@@ -200,6 +200,10 @@ impl cumulus_parachain_upgrade::Trait for Runtime {
type OnValidationData = ();
}
impl cumulus_message_broker::Trait for Runtime {
type DownwardMessageHandlers = ();
}
impl parachain_info::Trait for Runtime {}
construct_runtime! {
@@ -214,6 +218,7 @@ construct_runtime! {
Sudo: pallet_sudo::{Module, Call, Storage, Config<T>, Event<T>},
RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Call, Storage},
ParachainUpgrade: cumulus_parachain_upgrade::{Module, Call, Storage, Inherent, Event},
MessageBroker: cumulus_message_broker::{Module, Call, Inherent},
TransactionPayment: pallet_transaction_payment::{Module, Storage},
ParachainInfo: parachain_info::{Module, Storage, Config},
}