Update to latest Substrate & Polkadot (#107)

* Update to latest Substrate & Polkadot

* Replace --unsafe-rpc-export with --unsafe-rpc-external

* Add --rpc-methods=Unsafe

Documented in substrate 24486f52929e9e518eeccbc6ad6da70e9e5bdf8a

* typos

* more typo

* fixed rpc expose

* Disable the integration test

Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
This commit is contained in:
Bastian Köcher
2020-06-05 16:57:02 +02:00
committed by GitHub
parent 58a41cd205
commit 0326d049c5
14 changed files with 595 additions and 498 deletions
+3 -3
View File
@@ -52,7 +52,7 @@ use log::{error, trace};
use futures::task::Spawn;
use futures::prelude::*;
use std::{fmt::Debug, marker::PhantomData, sync::Arc, time::Duration, pin::Pin};
use std::{marker::PhantomData, sync::Arc, time::Duration, pin::Pin};
use parking_lot::Mutex;
@@ -186,7 +186,7 @@ where
Box::pin(async move {
let parent_state_root = *last_head.header.state_root();
let mut proposer = proposer_future
let proposer = proposer_future
.await
.map_err(|e| {
error!(
@@ -453,7 +453,7 @@ mod tests {
type Transaction = sc_client_api::TransactionFor<test_client::Backend, Block>;
fn propose(
&mut self,
self,
_: InherentData,
digest: DigestFor<Block>,
_: Duration,