Skip to content

Commit b657233

Browse files
author
Dan Forbes
authored
Update serde dependency per @thiolliere (#68) & fix OpaqueBlock
paritytech/substrate#6557 (comment)
1 parent 82e36eb commit b657233

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

node/src/service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use std::sync::Arc;
44
use std::time::Duration;
55
use sc_client_api::{ExecutorProvider, RemoteBackend};
6-
use node_template_runtime::{self, Block, RuntimeApi};
6+
use node_template_runtime::{self, opaque::Block, RuntimeApi};
77
use sc_service::{error::Error as ServiceError, Configuration, ServiceComponents, TaskManager};
88
use sp_inherents::InherentDataProviders;
99
use sc_executor::native_executor_instance;

runtime/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ tag = 'v2.0.0-rc5'
5757
version = '2.0.0-rc5'
5858

5959
[dependencies.serde]
60-
default-features = false
6160
features = ['derive']
6261
optional = true
6362
version = '1.0.101'
@@ -178,7 +177,7 @@ std = [
178177
'frame-support/std',
179178
'grandpa/std',
180179
'randomness-collective-flip/std',
181-
'serde/std',
180+
'serde',
182181
'sp-api/std',
183182
'sp-block-builder/std',
184183
'sp-consensus-aura/std',

0 commit comments

Comments
 (0)