Skip to content

Commit

Permalink
switch to retriable err
Browse files Browse the repository at this point in the history
  • Loading branch information
juan518munoz committed Nov 19, 2024
1 parent 8afd7d1 commit 11b36b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/node/da_clients/src/eigen/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use zksync_da_client::{
};

use super::{blob_info::BlobInfo, memstore::MemStore, sdk::RawEigenClient, Disperser};
use crate::utils::to_non_retriable_da_error;
use crate::utils::{to_non_retriable_da_error, to_retriable_da_error};

/// EigenClient is a client for the Eigen DA service.
/// It can be configured to use one of two dispersal methods:
Expand Down Expand Up @@ -58,7 +58,7 @@ impl DataAvailabilityClient for EigenClient {
Disperser::Remote(remote_disperser) => remote_disperser
.dispatch_blob(data)
.await
.map_err(to_non_retriable_da_error)?,
.map_err(to_retriable_da_error)?,
Disperser::Memory(memstore) => memstore
.clone()
.put_blob(data)
Expand Down

0 comments on commit 11b36b1

Please sign in to comment.