mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-04 06:43:07 +00:00
fix
This commit is contained in:
parent
ad58dcbc0e
commit
3515fbddac
@ -317,6 +317,7 @@ impl<F: RichField + Extendable<D>, const D: usize> CircuitBuilder<F, D> {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use anyhow::Result;
|
||||
use hashbrown::HashMap;
|
||||
|
||||
use super::*;
|
||||
use crate::field::types::Sample;
|
||||
@ -350,7 +351,7 @@ mod tests {
|
||||
|
||||
// Generate dummy proof with the same `CommonCircuitData`.
|
||||
let dummy_data = dummy_circuit(&data.common);
|
||||
let dummy_proof = dummy_proof(&dummy_data, &[])?;
|
||||
let dummy_proof = dummy_proof(&dummy_data, HashMap::new())?;
|
||||
|
||||
// Conditionally verify the two proofs.
|
||||
let mut builder = CircuitBuilder::<F, D>::new(config);
|
||||
|
||||
@ -273,7 +273,6 @@ where
|
||||
mod tests {
|
||||
use anyhow::Result;
|
||||
use hashbrown::HashMap;
|
||||
use itertools::Itertools;
|
||||
|
||||
use crate::field::extension::Extendable;
|
||||
use crate::field::types::{Field, PrimeField64};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user