From 0b912e116931064c0d41be3b8d159baa95f0027e 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] chore(gas_price_service_v1): strictly ensure
last_recorded_height is set, to avoid initial poll of da source
---
.../block_committer_costs.rs | 84 ++-----------------
.../gas_price_service/src/v1/service.rs | 7 ++
2 files changed, 14 insertions(+), 77 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 fb6077472c..6515a0aebc 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