Remove ethereum-types as direct dependency (#812)

This commit is contained in:
Bastian Köcher
2018-09-27 12:35:05 +02:00
committed by Arkadiy Paronyan
parent a50e184402
commit 37102611d4
4 changed files with 4 additions and 32 deletions
+1 -1
View File
@@ -12,7 +12,6 @@ error-chain = { version = "0.12", default-features = false }
fnv = "1.0"
futures = "0.1"
libp2p = { git = "https://github.com/tomaka/libp2p-rs", rev = "8111062f0177fd7423626f2db9560273644a4c4d", default-features = false, features = ["libp2p-secio", "libp2p-secio-secp256k1"] }
ethereum-types = "0.3"
parking_lot = "0.5"
libc = "0.2"
log = "0.3"
@@ -26,6 +25,7 @@ tokio-executor = "0.1"
tokio-io = "0.1"
tokio-timer = "0.2"
unsigned-varint = { version = "0.2.1", features = ["codec"] }
substrate-primitives = { path = "../primitives" }
[dev-dependencies]
assert_matches = "1.2"
+1 -2
View File
@@ -36,12 +36,11 @@ extern crate serde;
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
extern crate substrate_primitives as primitives;
extern crate smallvec;
extern crate bytes;
extern crate unsigned_varint;
extern crate ethereum_types;
#[macro_use]
extern crate error_chain;
#[macro_use]
+1 -1
View File
@@ -23,7 +23,7 @@ use std::time::Duration;
use TimerToken;
use libp2p::{multiaddr::Protocol, Multiaddr};
use error::Error;
use ethereum_types::H512;
use primitives::hash::H512;
/// Protocol handler level packet id
pub type PacketId = u8;