parachain-system (#296)

* rename parachain-{upgrade -> system}

* Merge message-broker into parachain-system

* Remove message-broker and clean up

* Update docs

* Test upward messages sending

And also update the relay-sproof-builder so that it allows to set the
relay dispatch queue size for the given parachain.

* Test horizontal message sending

* Remove old inherent definitions
This commit is contained in:
Sergei Shulepov
2021-01-21 15:53:00 +01:00
committed by GitHub
parent 8c6febdd3b
commit b5f6580da1
20 changed files with 1438 additions and 1272 deletions
+4 -2
View File
@@ -207,10 +207,12 @@ impl pallet_sudo::Config for Runtime {
type Event = Event;
}
impl cumulus_parachain_upgrade::Config for Runtime {
impl cumulus_parachain_system::Config for Runtime {
type SelfParaId = ParachainId;
type Event = Event;
type OnValidationData = ();
type DownwardMessageHandlers = ();
type HrmpMessageHandlers = ();
}
parameter_types! {
@@ -228,7 +230,7 @@ construct_runtime! {
Balances: pallet_balances::{Module, Call, Storage, Config<T>, Event<T>},
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},
ParachainSystem: cumulus_parachain_system::{Module, Call, Storage, Inherent, Event},
TransactionPayment: pallet_transaction_payment::{Module, Storage},
}
}