Skip to content

Commit

Permalink
fix(da): don't ignore celestia RPC errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabaluev committed Feb 13, 2025
1 parent 5c46929 commit fbe04d1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions protocol-units/da/movement/protocol/da/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,7 @@ where
&self,
height: u64,
) -> Pin<Box<dyn Future<Output = Result<Vec<DaBlob<C>>, DaError>> + Send + '_>> {
Box::pin(async move {
let result = self.get_da_blobs_at_height(height).await;
match result {
Ok(blobs) => Ok(blobs),
Err(e) => {
warn!("failed to get blobs at height: {}", e);
Ok(vec![])
}
}
})
self.get_da_blobs_at_height(height)
}

fn stream_certificates(
Expand Down

0 comments on commit fbe04d1

Please sign in to comment.