Skip to content

Commit

Permalink
remove hardcoded block number
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill-K-1 committed Nov 15, 2024
1 parent 87b5198 commit a27b24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event-indexer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {

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::<GovEventNotification>();
Expand Down

0 comments on commit a27b24f

Please sign in to comment.