From 4dfe092e08a75d61bd5670731f6d37d822e8427a Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sat, 22 Jul 2023 02:30:39 -0700 Subject: [PATCH] fix tests --- web3_proxy/tests/common/app.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web3_proxy/tests/common/app.rs b/web3_proxy/tests/common/app.rs index a5ebcf75..6d665a23 100644 --- a/web3_proxy/tests/common/app.rs +++ b/web3_proxy/tests/common/app.rs @@ -22,6 +22,7 @@ use tokio::{ time::{sleep, Instant}, }; use tracing::info; +use ulid::Ulid; use web3_proxy::{ config::{AppConfig, TopConfig, Web3RpcConfig}, stats::FlushedStats, @@ -81,7 +82,7 @@ impl TestApp { "influxdb_org": influx_org, "influxdb_token": influx_token, "influxdb_bucket": influx_bucket, - "influx_id": influx_id, + "influxdb_id": influx_id.unwrap_or_else(Ulid::new), "default_user_max_requests_per_period": Some(6_000_000), "deposit_factory_contract": Address::from_str( "4e3BC2054788De923A04936C6ADdB99A05B0Ea36",