Update smallvec (#1339)

This commit is contained in:
Age Manning
2020-07-07 16:57:27 +10:00
committed by GitHub
parent 51fbaefe41
commit f500b24242
8 changed files with 30 additions and 30 deletions

View File

@@ -15,7 +15,7 @@ merkle_proof = { path = "../../consensus/merkle_proof" }
store = { path = "../store" }
parking_lot = "0.11.0"
lazy_static = "1.4.0"
smallvec = "1.4.0"
smallvec = "1.4.1"
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
log = "0.4.8"
operation_pool = { path = "../operation_pool" }

View File

@@ -23,7 +23,7 @@ fnv = "1.0.7"
unsigned-varint = { git = "https://github.com/sigp/unsigned-varint", branch = "latest-codecs", features = ["codec"] }
lazy_static = "1.4.0"
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
smallvec = "1.4.0"
smallvec = "1.4.1"
lru = "0.5.1"
parking_lot = "0.11.0"
sha2 = "0.9.1"

View File

@@ -19,7 +19,7 @@ use libp2p::{
},
PeerId,
};
use slog::{crit, debug, o};
use slog::{crit, debug, o, trace};
use std::{
collections::VecDeque,
marker::PhantomData,
@@ -355,7 +355,7 @@ impl<TSpec: EthSpec> Behaviour<TSpec> {
let ping = crate::rpc::Ping {
data: self.meta_data.seq_number,
};
debug!(self.log, "Sending Ping"; "request_id" => id, "peer_id" => peer_id.to_string());
trace!(self.log, "Sending Ping"; "request_id" => id, "peer_id" => peer_id.to_string());
self.eth2_rpc
.send_request(peer_id, id, RPCRequest::Ping(ping));
@@ -366,7 +366,7 @@ impl<TSpec: EthSpec> Behaviour<TSpec> {
let ping = crate::rpc::Ping {
data: self.meta_data.seq_number,
};
debug!(self.log, "Sending Pong"; "request_id" => id.1, "peer_id" => peer_id.to_string());
trace!(self.log, "Sending Pong"; "request_id" => id.1, "peer_id" => peer_id.to_string());
let event = RPCCodedResponse::Success(RPCResponse::Pong(ping));
self.eth2_rpc.send_response(peer_id, id, event);
}

View File

@@ -30,7 +30,7 @@ futures = "0.3.5"
error-chain = "0.12.2"
tokio = { version = "0.2.21", features = ["full"] }
parking_lot = "0.11.0"
smallvec = "1.4.0"
smallvec = "1.4.1"
# TODO: Remove rand crate for mainnet
rand = "0.7.3"
fnv = "1.0.6"