From 7a62374188751ddd98e0eb3c772d437c2dd723dc Mon Sep 17 00:00:00 2001 From: Bernhard Schuster Date: Wed, 23 Mar 2022 19:34:08 +0100 Subject: [PATCH] upgrade coarsetime to 0.1.22 to fix a potential panic (#5193) * use coarsetime-saturated for the time being * Revert "use coarsetime-saturated for the time being" This reverts commit 114263f0e6a98fd94ac1b29aad2efb1c75ada6fc. * make coarsetime min 0.1.22 --- polkadot/Cargo.lock | 4 ++-- polkadot/node/metered-channel/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index a8e1c62596..d49b1acb38 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -1138,9 +1138,9 @@ dependencies = [ [[package]] name = "coarsetime" -version = "0.1.21" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "441947d9f3582f20b35fdd2bc5ada3a8c74c9ea380d66268607cb399b510ee08" +checksum = "454038500439e141804c655b4cd1bc6a70bcb95cd2bc9463af5661b6956f0e46" dependencies = [ "libc", "once_cell", diff --git a/polkadot/node/metered-channel/Cargo.toml b/polkadot/node/metered-channel/Cargo.toml index fb4562b77e..491ed35b3b 100644 --- a/polkadot/node/metered-channel/Cargo.toml +++ b/polkadot/node/metered-channel/Cargo.toml @@ -13,7 +13,7 @@ gum = { package = "tracing-gum", path = "../gum" } thiserror = "1.0.30" crossbeam-queue = "0.3.5" nanorand = { version = "0.7.0", default-features = false, features = ["wyrand"] } -coarsetime = "0.1.21" +coarsetime = "^0.1.22" [dev-dependencies] futures = { version = "0.3.21", features = ["thread-pool"] }