Skip to content

Commit eb1254f

Browse files
apollo_l1_provider: scraper historic height is one more (#10724)
* apollo_l1_provider: minor updates to some bootstrapping tests of the L1 provider * apollo_l1_provider: scraper historic height is one more
1 parent 54e013b commit eb1254f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/apollo_l1_provider/src/l1_scraper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ impl<BaseLayerType: BaseLayerContract + Send + Sync + Debug> L1Scraper<BaseLayer
193193
.await
194194
.map_err(L1ScraperError::BaseLayerError)?
195195
.number;
196-
Ok(last_historic_l2_height)
196+
Ok(last_historic_l2_height.unchecked_next())
197197
}
198198

199199
/// Send an initialize message to the L1 provider, including the last L2 height that was proved

0 commit comments

Comments
 (0)