From a27b24ff88bb78261933517e67953125ab2bb7e9 Mon Sep 17 00:00:00 2001 From: ZelionD Date: Fri, 15 Nov 2024 14:43:10 -0500 Subject: [PATCH] remove hardcoded block number --- event-indexer/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event-indexer/src/main.rs b/event-indexer/src/main.rs index 25b1059..a29bf86 100644 --- a/event-indexer/src/main.rs +++ b/event-indexer/src/main.rs @@ -32,7 +32,7 @@ async fn main() -> Result<(), Box> { let mut indexer_state_redis_cache = IndexerStateRedisCache::new(chain_id, &config.redis, config.block_number).await?; - indexer_state_redis_cache.block_number = 2513099; + let mut gov_db_provider = GovDbProvider::new(config.db.clone())?; let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel::();