Deneb review suggestions (3) (#4694)

* Fix typos

* Avoid consuming/cloning blob

* Tidy comments
This commit is contained in:
Paul Hauner
2023-09-06 05:50:57 +10:00
committed by GitHub
parent 0bfc933c50
commit 2550170337
7 changed files with 20 additions and 16 deletions

View File

@@ -48,7 +48,7 @@ impl<E: EthSpec> Case for KZGComputeKZGProof<E> {
let kzg = get_kzg::<E::Kzg>()?;
let proof = parse_input(&self.input).and_then(|(blob, z)| {
compute_kzg_proof::<E>(&kzg, blob, z)
compute_kzg_proof::<E>(&kzg, &blob, z)
.map_err(|e| Error::InternalError(format!("Failed to compute kzg proof: {:?}", e)))
});