From e48bfa837fe327bdf8a293b1bf13535c85409301 Mon Sep 17 00:00:00 2001 From: Sebastien La Duca Date: Sun, 24 Jul 2022 18:06:03 -0400 Subject: [PATCH] fmt --- evm/src/memory/memory_stark.rs | 2 +- evm/src/permutation.rs | 2 +- evm/src/proof.rs | 2 +- evm/src/prover.rs | 2 +- starky/src/permutation.rs | 2 +- starky/src/proof.rs | 2 +- starky/src/prover.rs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/evm/src/memory/memory_stark.rs b/evm/src/memory/memory_stark.rs index c16ef2be..398c2c15 100644 --- a/evm/src/memory/memory_stark.rs +++ b/evm/src/memory/memory_stark.rs @@ -2,6 +2,7 @@ use std::marker::PhantomData; use ethereum_types::U256; use itertools::Itertools; +use maybe_rayon::*; use plonky2::field::extension::{Extendable, FieldExtension}; use plonky2::field::packed::PackedField; use plonky2::field::polynomial::PolynomialValues; @@ -10,7 +11,6 @@ use plonky2::hash::hash_types::RichField; use plonky2::timed; use plonky2::util::timing::TimingTree; use plonky2::util::transpose; -use maybe_rayon::*; use crate::constraint_consumer::{ConstraintConsumer, RecursiveConstraintConsumer}; use crate::cross_table_lookup::Column; diff --git a/evm/src/permutation.rs b/evm/src/permutation.rs index 42400a94..c21a06de 100644 --- a/evm/src/permutation.rs +++ b/evm/src/permutation.rs @@ -1,6 +1,7 @@ //! Permutation arguments. use itertools::Itertools; +use maybe_rayon::*; use plonky2::field::batch_util::batch_multiply_inplace; use plonky2::field::extension::{Extendable, FieldExtension}; use plonky2::field::packed::PackedField; @@ -16,7 +17,6 @@ use plonky2::plonk::plonk_common::{ reduce_with_powers, reduce_with_powers_circuit, reduce_with_powers_ext_circuit, }; use plonky2::util::reducing::{ReducingFactor, ReducingFactorTarget}; -use maybe_rayon::*; use crate::config::StarkConfig; use crate::constraint_consumer::{ConstraintConsumer, RecursiveConstraintConsumer}; diff --git a/evm/src/proof.rs b/evm/src/proof.rs index 97c27bd4..4f81308d 100644 --- a/evm/src/proof.rs +++ b/evm/src/proof.rs @@ -1,4 +1,5 @@ use itertools::Itertools; +use maybe_rayon::*; use plonky2::field::extension::{Extendable, FieldExtension}; use plonky2::fri::oracle::PolynomialBatch; use plonky2::fri::proof::{ @@ -12,7 +13,6 @@ use plonky2::hash::merkle_tree::MerkleCap; use plonky2::iop::ext_target::ExtensionTarget; use plonky2::iop::target::Target; use plonky2::plonk::config::GenericConfig; -use maybe_rayon::*; use crate::config::StarkConfig; use crate::permutation::GrandProductChallengeSet; diff --git a/evm/src/prover.rs b/evm/src/prover.rs index b4073c29..8be39b6c 100644 --- a/evm/src/prover.rs +++ b/evm/src/prover.rs @@ -1,6 +1,7 @@ use std::any::type_name; use anyhow::{ensure, Result}; +use maybe_rayon::*; use plonky2::field::extension::Extendable; use plonky2::field::packable::Packable; use plonky2::field::packed::PackedField; @@ -15,7 +16,6 @@ use plonky2::timed; use plonky2::util::timing::TimingTree; use plonky2::util::transpose; use plonky2_util::{log2_ceil, log2_strict}; -use maybe_rayon::*; use crate::all_stark::{AllStark, Table}; use crate::config::StarkConfig; diff --git a/starky/src/permutation.rs b/starky/src/permutation.rs index e1e1c2af..7d422171 100644 --- a/starky/src/permutation.rs +++ b/starky/src/permutation.rs @@ -1,6 +1,7 @@ //! Permutation arguments. use itertools::Itertools; +use maybe_rayon::*; use plonky2::field::batch_util::batch_multiply_inplace; use plonky2::field::extension::{Extendable, FieldExtension}; use plonky2::field::packed::PackedField; @@ -13,7 +14,6 @@ use plonky2::iop::target::Target; use plonky2::plonk::circuit_builder::CircuitBuilder; use plonky2::plonk::config::{AlgebraicHasher, GenericConfig, Hasher}; use plonky2::util::reducing::{ReducingFactor, ReducingFactorTarget}; -use maybe_rayon::*; use crate::config::StarkConfig; use crate::constraint_consumer::{ConstraintConsumer, RecursiveConstraintConsumer}; diff --git a/starky/src/proof.rs b/starky/src/proof.rs index fad8a7f1..c9900c08 100644 --- a/starky/src/proof.rs +++ b/starky/src/proof.rs @@ -1,4 +1,5 @@ use itertools::Itertools; +use maybe_rayon::*; use plonky2::field::extension::{Extendable, FieldExtension}; use plonky2::fri::oracle::PolynomialBatch; use plonky2::fri::proof::{ @@ -12,7 +13,6 @@ use plonky2::hash::merkle_tree::MerkleCap; use plonky2::iop::ext_target::ExtensionTarget; use plonky2::iop::target::Target; use plonky2::plonk::config::GenericConfig; -use maybe_rayon::*; use crate::config::StarkConfig; use crate::permutation::PermutationChallengeSet; diff --git a/starky/src/prover.rs b/starky/src/prover.rs index d446dabb..24593b45 100644 --- a/starky/src/prover.rs +++ b/starky/src/prover.rs @@ -2,6 +2,7 @@ use std::iter::once; use anyhow::{ensure, Result}; use itertools::Itertools; +use maybe_rayon::*; use plonky2::field::extension::Extendable; use plonky2::field::packable::Packable; use plonky2::field::packed::PackedField; @@ -16,7 +17,6 @@ use plonky2::timed; use plonky2::util::timing::TimingTree; use plonky2::util::transpose; use plonky2_util::{log2_ceil, log2_strict}; -use maybe_rayon::*; use crate::config::StarkConfig; use crate::constraint_consumer::ConstraintConsumer;