Skip to content

Commit e39b019

Browse files
committed
checking
1 parent 5271fbd commit e39b019

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spark-middleware"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
edition = "2021"
55

66

@@ -20,7 +20,7 @@ futures-util = "0.3"
2020
graphql_client = "0.14.0"
2121
hex = "0.4.3"
2222
lazy_static = "1.5.0"
23-
pangea-client = "0.3.6"
23+
pangea-client = "0.3.7"
2424
prometheus = "0.13.4"
2525
reqwest = "0.12.12"
2626
rocket = { version = "0.5.0-rc.3", features = ["json"] }

src/indexer/pangea.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ async fn fetch_historical_data(
115115
};
116116
let mut last_processed_block = contract_start_block;
117117

118-
let target_latest_block = get_latest_block(fuel_chain).await?;
118+
let target_latest_block = get_latest_block(fuel_chain).await?-10;
119+
info!("fuel latest block {:?}", target_latest_block);
119120
info!(
120121
"📌 Syncing historical data from block {} to {}...",
121122
contract_start_block, target_latest_block

0 commit comments

Comments
 (0)