Make use of parity-codec "derive" crate feature (#1919)

* Make use of parity-codec "derive" crate feature

* Bump impl_version

* Update wasm files and Cargo.lock files

* Transferred to parity_codec derive feature for the rest of the crates

* Update wasm binaries and lock files

* Update core and node wasm binaries
This commit is contained in:
Hero Bird
2019-03-05 09:00:37 +01:00
committed by Bastian Köcher
parent 755b53bd05
commit 128d164f2b
85 changed files with 88 additions and 221 deletions
+1 -2
View File
@@ -25,8 +25,7 @@ primitives = { package = "substrate-primitives", path = "../../core/primitives"
consensus = { package = "substrate-consensus-common", path = "../../core/consensus/common" }
client = { package = "substrate-client", path = "../../core/client" }
runtime_primitives = { package = "sr-primitives", path = "../../core/sr-primitives" }
parity-codec = "3.1"
parity-codec-derive = "3.1"
parity-codec = { version = "3.1", features = ["derive"] }
network_libp2p = { package = "substrate-network-libp2p", path = "../../core/network-libp2p" }
tokio = "0.1.11"
keyring = { package = "substrate-keyring", path = "../../core/keyring", optional = true }
-2
View File
@@ -19,7 +19,6 @@
use bitflags::bitflags;
use runtime_primitives::traits::{Block as BlockT, Header as HeaderT};
use parity_codec::{Encode, Decode, Input, Output};
use parity_codec_derive::{Encode, Decode};
pub use self::generic::{
BlockAnnounce, RemoteCallRequest, RemoteReadRequest,
RemoteHeaderRequest, RemoteHeaderResponse,
@@ -131,7 +130,6 @@ pub mod generic {
use parity_codec::{Encode, Decode};
use network_libp2p::{CustomMessage, CustomMessageId};
use runtime_primitives::Justification;
use parity_codec_derive::{Encode, Decode};
use crate::config::Roles;
use super::{
BlockAttributes, RemoteCallResponse, RemoteReadResponse,