Skip to content

Commit

Permalink
fix: Set current block height for listed V1 indexers and fix rust for…
Browse files Browse the repository at this point in the history
…matting
  • Loading branch information
darunrs committed Feb 9, 2024
1 parent 3c24beb commit a86206b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions indexer/queryapi_coordinator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@ async fn main() -> anyhow::Result<()> {
}

async fn fetch_denylist(redis_connection_manager: &ConnectionManager) -> anyhow::Result<Denylist> {
let raw_denylist: String =
storage::get(redis_connection_manager, storage::DENYLIST_KEY).await.unwrap_or("".to_owned());
let raw_denylist: String = storage::get(redis_connection_manager, storage::DENYLIST_KEY)
.await
.unwrap_or("".to_owned());
let denylist: Denylist =
serde_json::from_str(&raw_denylist).context("Failed to parse denylist")?;

Expand Down
2 changes: 1 addition & 1 deletion runner/src/server/runner-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function getRunnerService (executors: Map<string, StreamHandler>, StreamHandlerT
};
context = {
status: Status.RUNNING,
block_height: 0,
block_height: context.block_height,
};
}
response.push({
Expand Down

0 comments on commit a86206b

Please sign in to comment.