diff --git a/crates/sui-indexer/src/handlers/checkpoint_handler.rs b/crates/sui-indexer/src/handlers/checkpoint_handler.rs index a0fd533cabda2..b3897f2fe8935 100644 --- a/crates/sui-indexer/src/handlers/checkpoint_handler.rs +++ b/crates/sui-indexer/src/handlers/checkpoint_handler.rs @@ -69,7 +69,7 @@ pub async fn new_handlers( ) -> Result, IndexerError> where S: IndexerStore + Clone + Sync + Send + 'static, - T: R2D2Connection, + T: R2D2Connection + 'static, { let checkpoint_queue_size = std::env::var("CHECKPOINT_QUEUE_SIZE") .unwrap_or(CHECKPOINT_QUEUE_SIZE.to_string()) diff --git a/crates/sui-indexer/src/test_utils.rs b/crates/sui-indexer/src/test_utils.rs index 22b243cd7279a..421039555ca9c 100644 --- a/crates/sui-indexer/src/test_utils.rs +++ b/crates/sui-indexer/src/test_utils.rs @@ -40,7 +40,7 @@ impl ReaderWriterConfig { } } -pub async fn start_test_indexer( +pub async fn start_test_indexer( db_url: Option, rpc_url: String, reader_writer_config: ReaderWriterConfig, @@ -57,7 +57,7 @@ pub async fn start_test_indexer( .await } -pub async fn start_test_indexer_impl( +pub async fn start_test_indexer_impl( db_url: Option, rpc_url: String, reader_writer_config: ReaderWriterConfig,