From 90b57c7aedc6e852574d87bb5b14978a4eae03ba Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Thu, 9 Feb 2023 12:02:57 -0800 Subject: [PATCH] fix test. usize -> u64 --- web3_proxy/src/bin/web3_proxy_cli/daemon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/bin/web3_proxy_cli/daemon.rs b/web3_proxy/src/bin/web3_proxy_cli/daemon.rs index 4e0e056e..62d742e5 100644 --- a/web3_proxy/src/bin/web3_proxy_cli/daemon.rs +++ b/web3_proxy/src/bin/web3_proxy_cli/daemon.rs @@ -196,7 +196,7 @@ mod tests { min_sum_soft_limit: 1, min_synced_rpcs: 1, public_requests_per_period: Some(1_000_000), - response_cache_max_bytes: 10_usize.pow(7), + response_cache_max_bytes: 10_u64.pow(7), redirect_public_url: Some("example.com/".to_string()), redirect_rpc_key_url: Some("example.com/{{rpc_key_id}}".to_string()), ..Default::default()