From cfd956b3cfb93824cfece6bca7566475f17b39d0 Mon Sep 17 00:00:00 2001 From: Dan Forbes Date: Mon, 3 Aug 2020 08:07:08 -0700 Subject: [PATCH] Update serde dependency per @thiolliere (#68) & fix OpaqueBlock paritytech/substrate#6557 (comment) --- node/src/service.rs | 2 +- runtime/Cargo.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/node/src/service.rs b/node/src/service.rs index 4c41e98..7a90a7b 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -3,7 +3,7 @@ use std::sync::Arc; use std::time::Duration; use sc_client_api::{ExecutorProvider, RemoteBackend}; -use node_template_runtime::{self, Block, RuntimeApi}; +use node_template_runtime::{self, opaque::Block, RuntimeApi}; use sc_service::{error::Error as ServiceError, Configuration, ServiceComponents, TaskManager}; use sp_inherents::InherentDataProviders; use sc_executor::native_executor_instance; diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index a8a6ef5..131e24e 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -57,7 +57,6 @@ tag = 'v2.0.0-rc5' version = '2.0.0-rc5' [dependencies.serde] -default-features = false features = ['derive'] optional = true version = '1.0.101' @@ -178,7 +177,7 @@ std = [ 'frame-support/std', 'grandpa/std', 'randomness-collective-flip/std', - 'serde/std', + 'serde', 'sp-api/std', 'sp-block-builder/std', 'sp-consensus-aura/std',