Skip to content

Commit

Permalink
rename RawEigenClient field name
Browse files Browse the repository at this point in the history
  • Loading branch information
juan518munoz committed Feb 6, 2025
1 parent fdccf95 commit e71bb5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/node/da_clients/src/eigen/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub(crate) struct RawEigenClient {
private_key: SecretKey,
pub config: EigenConfig,
verifier: Verifier,
get_blob_data: Arc<dyn GetBlobData>,
blob_data_provider: Arc<dyn GetBlobData>,
}

pub(crate) const DATA_CHUNK_SIZE: usize = 32;
Expand Down Expand Up @@ -70,7 +70,7 @@ impl RawEigenClient {
private_key,
config: cfg,
verifier,
get_blob_data,
blob_data_provider: get_blob_data,
})
}

Expand Down Expand Up @@ -161,7 +161,7 @@ impl RawEigenClient {
.map_err(|e| anyhow::anyhow!("Failed to convert blob info: {}", e))?;

let data = self.get_blob_data(blob_info.clone()).await?;
let data_db = self.get_blob_data.get_blob_data(request_id).await?;
let data_db = self.blob_data_provider.get_blob_data(request_id).await?;
if let Some(data_db) = data_db {
if data_db != data {
return Err(anyhow::anyhow!(
Expand Down

0 comments on commit e71bb5e

Please sign in to comment.