Skip to content

Commit

Permalink
fux build error in mpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
hero78119 committed Aug 23, 2024
1 parent abc3542 commit 392c770
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 17 deletions.
12 changes: 0 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,6 @@ members = [
"sumcheck",
"transcript",
]
# "singer-pro" not included by default due to pending for build failed fix
default-members = [
"gkr",
"gkr-graph",
"mpcs",
"multilinear_extensions",
"simple-frontend",
"singer",
"singer-utils",
"sumcheck",
"transcript"
]

[workspace.package]
version = "0.1.0"
Expand Down
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RAYON_NUM_THREADS = "${CORE}"

[tasks.tests]
command = "cargo"
args = ["test", "--lib", "--release", "--all"]
args = ["test", "--lib", "--release", "--workspace", "--exclude", "singer-pro"]

[tasks.fmt-check]
command = "cargo"
Expand Down
1 change: 1 addition & 0 deletions mpcs/src/basefold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ use crate::{
};
use ark_std::{end_timer, start_timer};
use ff_ext::ExtensionField;
use multilinear_extensions::mle::MultilinearExtension;
use query_phase::{
batch_query_phase, batch_verifier_query_phase, query_phase, verifier_query_phase,
BatchedQueriesResultWithMerklePath, QueriesResultWithMerklePath,
Expand Down
4 changes: 2 additions & 2 deletions mpcs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ pub mod test_util {
};
use ff_ext::ExtensionField;
use itertools::{chain, Itertools};
use multilinear_extensions::mle::DenseMultilinearExtension;
use multilinear_extensions::mle::{DenseMultilinearExtension, MultilinearExtension};
use rand::{prelude::*, rngs::OsRng};
use rand_chacha::ChaCha8Rng;

Expand Down Expand Up @@ -521,7 +521,7 @@ mod test {
PolynomialCommitmentScheme,
};
use goldilocks::GoldilocksExt2;
use multilinear_extensions::mle::DenseMultilinearExtension;
use multilinear_extensions::mle::{DenseMultilinearExtension, MultilinearExtension};
use rand::{prelude::*, rngs::OsRng};
use rand_chacha::ChaCha8Rng;
#[test]
Expand Down
7 changes: 5 additions & 2 deletions mpcs/src/sum_check/classic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ use itertools::Itertools;
use num_integer::Integer;
use std::{borrow::Cow, collections::HashMap, fmt::Debug, marker::PhantomData};
mod coeff;
use multilinear_extensions::{mle::DenseMultilinearExtension, virtual_poly::build_eq_x_r_vec};
use multilinear_extensions::{
mle::{DenseMultilinearExtension, MultilinearExtension},
virtual_poly::build_eq_x_r_vec,
};

pub use coeff::CoefficientsProver;

Expand Down Expand Up @@ -182,7 +185,7 @@ pub trait ClassicSumCheckRoundMessage<E: ExtensionField>: Sized + Debug {
) -> Result<Self, Error>;

fn read_ext(degree: usize, transcript: &mut impl FieldTranscriptRead<E>)
-> Result<Self, Error>;
-> Result<Self, Error>;

fn sum(&self) -> E;

Expand Down

0 comments on commit 392c770

Please sign in to comment.