mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 21:27:57 +00:00
Update dependencies (#1527)
* update to latest env_logger * roundabout dependency update * Update to latest vengen * Update rand to 0.6 * Update to latest rng shuffle API * Roundabout update of dependencies * Update rustc_hex * Update wasm * Fix logging setup in tests * revert to fix test
This commit is contained in:
committed by
Bastian Köcher
parent
b187695af7
commit
ab4c70b379
@@ -725,12 +725,12 @@ impl<B: BlockT, S: NetworkSpecialization<B>, H: ExHashT> Protocol<B, S, H> {
|
||||
|
||||
fn on_remote_read_request(&self, io: &mut SyncIo, who: NodeIndex, request: message::RemoteReadRequest<B::Hash>) {
|
||||
trace!(target: "sync", "Remote read request {} from {} ({} at {})",
|
||||
request.id, who, request.key.to_hex(), request.block);
|
||||
request.id, who, request.key.to_hex::<String>(), request.block);
|
||||
let proof = match self.context_data.chain.read_proof(&request.block, &request.key) {
|
||||
Ok(proof) => proof,
|
||||
Err(error) => {
|
||||
trace!(target: "sync", "Remote read request {} from {} ({} at {}) failed with: {}",
|
||||
request.id, who, request.key.to_hex(), request.block, error);
|
||||
request.id, who, request.key.to_hex::<String>(), request.block, error);
|
||||
Default::default()
|
||||
},
|
||||
};
|
||||
@@ -766,13 +766,13 @@ impl<B: BlockT, S: NetworkSpecialization<B>, H: ExHashT> Protocol<B, S, H> {
|
||||
|
||||
fn on_remote_changes_request(&self, io: &mut SyncIo, who: NodeIndex, request: message::RemoteChangesRequest<B::Hash>) {
|
||||
trace!(target: "sync", "Remote changes proof request {} from {} for key {} ({}..{})",
|
||||
request.id, who, request.key.to_hex(), request.first, request.last);
|
||||
request.id, who, request.key.to_hex::<String>(), request.first, request.last);
|
||||
let key = StorageKey(request.key);
|
||||
let proof = match self.context_data.chain.key_changes_proof(request.first, request.last, request.min, request.max, &key) {
|
||||
Ok(proof) => proof,
|
||||
Err(error) => {
|
||||
trace!(target: "sync", "Remote changes proof request {} from {} for key {} ({}..{}) failed with: {}",
|
||||
request.id, who, key.0.to_hex(), request.first, request.last, error);
|
||||
request.id, who, key.0.to_hex::<String>(), request.first, request.last, error);
|
||||
ChangesProof::<B::Header> {
|
||||
max_block: Zero::zero(),
|
||||
proof: vec![],
|
||||
|
||||
Reference in New Issue
Block a user