From cbc6dee4a39561f33a2d456d685fffbcb1d9a29b Mon Sep 17 00:00:00 2001
From: rymnc <43716372+rymnc@users.noreply.github.com>
Date: Mon, 30 Dec 2024 23:42:46 +0530
Subject: [PATCH 01/24] chore(gas_price_service_v1): strictly ensure
last_recorded_height is set, to avoid initial poll of da source
---
.../block_committer_costs.rs | 85 ++-----------------
.../gas_price_service/src/v1/service.rs | 7 ++
.../src/v1/uninitialized_task.rs | 6 ++
3 files changed, 20 insertions(+), 78 deletions(-)
diff --git a/crates/services/gas_price_service/src/v1/da_source_service/block_committer_costs.rs b/crates/services/gas_price_service/src/v1/da_source_service/block_committer_costs.rs
index fb6077472c4..de932a8edce 100644
--- a/crates/services/gas_price_service/src/v1/da_source_service/block_committer_costs.rs
+++ b/crates/services/gas_price_service/src/v1/da_source_service/block_committer_costs.rs
@@ -20,8 +20,6 @@ use std::ops::Deref;
#[async_trait::async_trait]
pub trait BlockCommitterApi: Send + Sync {
- /// Used on first run to get the latest costs and seqno
- async fn get_latest_costs(&self) -> DaBlockCostsResult