DA: Fix compliation errors in KZG backend bench (#737)

This commit is contained in:
Youngjoon Lee 2024-09-17 18:32:11 +09:00 committed by GitHub
parent d2db454765
commit 8a1e705792
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ fn verify<const SIZE: usize>(bencher: Bencher, column_size: usize) {
let verifier = DaVerifier::new(sk.clone(), &[sk.sk_to_pk()]);
let da_blob = DaBlob {
column: encoded_data.extended_data.columns().next().unwrap(),
column_idx: 0,
column_commitment: encoded_data
.column_commitments
.iter()
@ -58,5 +59,5 @@ fn verify<const SIZE: usize>(bencher: Bencher, column_size: usize) {
(verifier, da_blob)
})
.input_counter(|_| BytesCount::new(SIZE))
.bench_refs(|(verifier, blob)| black_box(verifier.verify(blob, column_size).unwrap()));
.bench_refs(|(verifier, blob)| black_box(verifier.verify(blob, column_size)));
}