Skip to content

Commit

Permalink
lint agag
Browse files Browse the repository at this point in the history
  • Loading branch information
bxue-l2 committed Jan 24, 2025
1 parent cb7323e commit df8e963
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
3 changes: 0 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions bin/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,4 @@ hokulea-cryptography.workspace = true

tracing.workspace = true
async-trait.workspace = true
rust-kzg-bn254.workspace = true
num.workspace = true

ark-bn254.workspace = true

ark-ff.workspace = true
rust-kzg-bn254.workspace = true
10 changes: 5 additions & 5 deletions bin/client/src/cached_eigenda_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ impl<T: CommsClient + Sync + Send> EigenDABlobProvider for CachedOracleEigenDAPr

let mut witness = self.witness.lock().unwrap();

let _ = witness.push_witness(&blob, &self.srs).map_err(|e| {
return Err::<T, kona_proof::errors::OracleProviderError>(
OracleProviderError::Preimage(PreimageOracleError::Other(e.to_string())),
);
});
if let Err(e) = witness.push_witness(&blob, &self.srs) {
return Err(OracleProviderError::Preimage(PreimageOracleError::Other(
e.to_string(),
)));
};

let last_commitment = witness.commitments.last().unwrap();

Expand Down

0 comments on commit df8e963

Please sign in to comment.