From 767573cfc3af8ec52697ff0f48b2579251fef28e Mon Sep 17 00:00:00 2001 From: Mitchell Turner Date: Tue, 21 Jan 2025 09:07:33 -0700 Subject: [PATCH] Update crates/services/gas_price_service/src/v1/da_source_service/block_committer_costs.rs Co-authored-by: Aaryamann Challani <43716372+rymnc@users.noreply.github.com> --- .../src/v1/da_source_service/block_committer_costs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 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 5625a5e1dc3..1ebbc3e1927 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 @@ -138,10 +138,10 @@ impl BlockCommitterApi for BlockCommitterHttpApi { let parsed = response.json::>().await?; Ok(parsed) } else { - Err(anyhow!( + anyhow::bail!( "Failed to get costs from block committer: {:?}", response - )) + ) } } else { Ok(vec![])