mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 16:53: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)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
|
use hashbrown::HashMap;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::field::types::Sample;
|
use crate::field::types::Sample;
|
||||||
@ -350,7 +351,7 @@ mod tests {
|
|||||||
|
|
||||||
// Generate dummy proof with the same `CommonCircuitData`.
|
// Generate dummy proof with the same `CommonCircuitData`.
|
||||||
let dummy_data = dummy_circuit(&data.common);
|
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.
|
// Conditionally verify the two proofs.
|
||||||
let mut builder = CircuitBuilder::<F, D>::new(config);
|
let mut builder = CircuitBuilder::<F, D>::new(config);
|
||||||
|
|||||||
@ -273,7 +273,6 @@ where
|
|||||||
mod tests {
|
mod tests {
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use hashbrown::HashMap;
|
use hashbrown::HashMap;
|
||||||
use itertools::Itertools;
|
|
||||||
|
|
||||||
use crate::field::extension::Extendable;
|
use crate::field::extension::Extendable;
|
||||||
use crate::field::types::{Field, PrimeField64};
|
use crate::field::types::{Field, PrimeField64};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user