diff --git a/crates/routing-engine/src/indexer.rs b/crates/routing-engine/src/indexer.rs index 114565c..3ab32fe 100644 --- a/crates/routing-engine/src/indexer.rs +++ b/crates/routing-engine/src/indexer.rs @@ -352,7 +352,10 @@ mod tests { todo!() } - async fn get_all_key_values(&self) -> Result, RedisClientError> { + async fn get_all_key_values( + &self, + _: Option, + ) -> Result, RedisClientError> { todo!() } } diff --git a/crates/routing-engine/src/routing_engine.rs b/crates/routing-engine/src/routing_engine.rs index 5151ab7..663546c 100644 --- a/crates/routing-engine/src/routing_engine.rs +++ b/crates/routing-engine/src/routing_engine.rs @@ -420,7 +420,10 @@ mod tests { unimplemented!() } - async fn get_all_key_values(&self) -> Result, RedisClientError> { + async fn get_all_key_values( + &self, + _: Option, + ) -> Result, RedisClientError> { unimplemented!() } } diff --git a/crates/routing-engine/src/settlement_engine.rs b/crates/routing-engine/src/settlement_engine.rs index 02a25fb..a94db56 100644 --- a/crates/routing-engine/src/settlement_engine.rs +++ b/crates/routing-engine/src/settlement_engine.rs @@ -488,7 +488,10 @@ mod tests { unimplemented!() } - async fn get_all_key_values(&self) -> Result, RedisClientError> { + async fn get_all_key_values( + &self, + _: Option, + ) -> Result, RedisClientError> { unimplemented!() } } diff --git a/crates/routing-engine/src/token_price/coingecko.rs b/crates/routing-engine/src/token_price/coingecko.rs index 321f127..461198b 100644 --- a/crates/routing-engine/src/token_price/coingecko.rs +++ b/crates/routing-engine/src/token_price/coingecko.rs @@ -144,10 +144,10 @@ mod tests { use async_trait::async_trait; use derive_more::Display; + use serial_test::serial; use thiserror::Error; use config::{Config, get_sample_config}; - use serial_test::serial; use storage::{KeyValueStore, RedisClientError}; use crate::CoingeckoClient; @@ -192,7 +192,10 @@ mod tests { unimplemented!() } - async fn get_all_key_values(&self) -> Result, RedisClientError> { + async fn get_all_key_values( + &self, + _: Option, + ) -> Result, RedisClientError> { unimplemented!() } } diff --git a/crates/storage/src/redis_client.rs b/crates/storage/src/redis_client.rs index c438c3f..9b30d08 100644 --- a/crates/storage/src/redis_client.rs +++ b/crates/storage/src/redis_client.rs @@ -176,7 +176,7 @@ mod tests { .unwrap(); // Fetch all key-values - let key_values = client.get_all_key_values().await.unwrap(); + let key_values = client.get_all_key_values(None).await.unwrap(); assert_eq!(key_values.get("key1").unwrap(), "value1"); assert_eq!(key_values.get("key2").unwrap(), "value2");