diff --git a/Cargo.lock b/Cargo.lock index 628380d..f754e4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1949,8 +1949,6 @@ dependencies = [ "alloy-consensus", "alloy-primitives", "alloy-rlp", - "ark-bn254", - "ark-ff 0.5.0", "async-trait", "hokulea-cryptography", "hokulea-eigenda", @@ -1960,7 +1958,6 @@ dependencies = [ "kona-executor", "kona-preimage", "kona-proof", - "num", "rust-kzg-bn254", "tracing", ] diff --git a/bin/client/Cargo.toml b/bin/client/Cargo.toml index b9bff1f..4eda33b 100644 --- a/bin/client/Cargo.toml +++ b/bin/client/Cargo.toml @@ -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 \ No newline at end of file diff --git a/bin/client/src/cached_eigenda_provider.rs b/bin/client/src/cached_eigenda_provider.rs index 2cf797b..e985521 100644 --- a/bin/client/src/cached_eigenda_provider.rs +++ b/bin/client/src/cached_eigenda_provider.rs @@ -61,11 +61,11 @@ impl EigenDABlobProvider for CachedOracleEigenDAPr let mut witness = self.witness.lock().unwrap(); - let _ = witness.push_witness(&blob, &self.srs).map_err(|e| { - return Err::( - 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();