mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 19:01:08 +00:00
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:
@@ -30,7 +30,7 @@ sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default
|
||||
sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
||||
|
||||
# Cumulus dependencies
|
||||
cumulus-parachain-upgrade = { path = "../../parachain-upgrade", default-features = false }
|
||||
cumulus-parachain-system = { path = "../../parachain-system", default-features = false }
|
||||
cumulus-primitives = { path = "../../primitives", default-features = false }
|
||||
cumulus-runtime = { path = "../../runtime", default-features = false }
|
||||
|
||||
@@ -44,7 +44,7 @@ substrate-wasm-builder = "3.0.0"
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"cumulus-parachain-upgrade/std",
|
||||
"cumulus-parachain-system/std",
|
||||
"cumulus-primitives/std",
|
||||
"cumulus-runtime/std",
|
||||
"frame-executive/std",
|
||||
|
||||
@@ -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},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user