mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user