From 54b4aa852294b5e261ae97a710938c8412b28161 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sun, 12 Feb 2023 01:47:06 -0800 Subject: [PATCH] cargo upgrade --- Cargo.lock | 12 ++++++------ deferred-rate-limiter/Cargo.toml | 2 +- web3_proxy/Cargo.toml | 6 +++--- web3_proxy/src/rpcs/many.rs | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0196af87..89548b54 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -282,9 +282,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "axum" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5694b64066a2459918d8074c2ce0d5a88f409431994c2356617c8ae0c4721fc" +checksum = "3114e77b361ec716aa429ae5c04243abe00cf7548e870b9370affcc5c491a7d0" dependencies = [ "async-trait", "axum-core", @@ -347,9 +347,9 @@ dependencies = [ [[package]] name = "axum-macros" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dbcf61bed07d554bd5c225cd07bc41b793eab63e79c6f0ceac7e1aed2f1c670" +checksum = "cb6bee4e05a5e0a5a67515ab24978efa7a80575a7a41a9fae35bb27fed6645d2" dependencies = [ "heck 0.4.0", "proc-macro2", @@ -2891,9 +2891,9 @@ dependencies = [ [[package]] name = "moka" -version = "0.9.7" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b9268097a2cf211ac9955b1cc95e80fa84fff5c2d13ba292916445dc8a311f" +checksum = "2b6446f16d504e3d575df79cabb11bfbe9f24b17e9562d964a815db7b28ae3ec" dependencies = [ "async-io", "async-lock", diff --git a/deferred-rate-limiter/Cargo.toml b/deferred-rate-limiter/Cargo.toml index 9b7c4ad8..04cb8488 100644 --- a/deferred-rate-limiter/Cargo.toml +++ b/deferred-rate-limiter/Cargo.toml @@ -10,5 +10,5 @@ redis-rate-limiter = { path = "../redis-rate-limiter" } anyhow = "1.0.69" hashbrown = "0.13.2" log = "0.4.17" -moka = { version = "0.9.7", default-features = false, features = ["future"] } +moka = { version = "0.10.0", default-features = false, features = ["future"] } tokio = "1.25.0" diff --git a/web3_proxy/Cargo.toml b/web3_proxy/Cargo.toml index 9ebe64e5..e4a9b93c 100644 --- a/web3_proxy/Cargo.toml +++ b/web3_proxy/Cargo.toml @@ -27,9 +27,9 @@ thread-fast-rng = { path = "../thread-fast-rng" } anyhow = { version = "1.0.69", features = ["backtrace"] } argh = "0.1.10" -axum = { version = "0.6.4", features = ["headers", "ws"] } +axum = { version = "0.6.5", features = ["headers", "ws"] } axum-client-ip = "0.4.0" -axum-macros = "0.3.2" +axum-macros = "0.3.3" chrono = "0.4.23" counter = "0.5.7" derive_more = "0.99.17" @@ -48,7 +48,7 @@ http = "0.2.8" ipnet = "2.7.1" itertools = "0.10.5" log = "0.4.17" -moka = { version = "0.9.7", default-features = false, features = ["future"] } +moka = { version = "0.10.0", default-features = false, features = ["future"] } notify = "5.1.0" num = "0.4.0" num-traits = "0.2.15" diff --git a/web3_proxy/src/rpcs/many.rs b/web3_proxy/src/rpcs/many.rs index 086ce81b..087ab95b 100644 --- a/web3_proxy/src/rpcs/many.rs +++ b/web3_proxy/src/rpcs/many.rs @@ -541,7 +541,7 @@ impl Web3Rpcs { }) .collect(); - debug!("todo: better sort here"); + trace!("todo: better sort here"); let sorted_rpcs = { if usable_rpcs.len() == 1 {