Companion for #5412 (#942)

* Fixes for democracy using Scheduler

* Revert branch change
This commit is contained in:
Gavin Wood
2020-04-01 17:01:14 +02:00
committed by GitHub
parent 6301baf024
commit d8e1180030
22 changed files with 315 additions and 285 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "polkadot-parachain"
version = "0.7.28"
version = "0.7.29-pre1"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Types and utilities for creating and working with parachains"
edition = "2018"
+1
View File
@@ -28,6 +28,7 @@ use sp_externalities::ExternalitiesExt;
#[runtime_interface]
pub trait Parachain {
/// Post a message to this parachain's relay chain.
#[allow(dead_code)]
fn post_upward_message(&mut self, msg: UpwardMessage) {
self.extension::<crate::wasm_executor::ParachainExt>()
.expect("No `ParachainExt` associated with the current context.")