mirror of
https://github.com/arnaucube/hyperplonk.git
synced 2026-01-12 00:51:27 +01:00
initial integration of hyperplonk snark(#39)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use ark_bls12_381::{Bls12_381, Fr};
|
||||
use ark_ff::UniformRand;
|
||||
use ark_poly::{DenseMultilinearExtension, MultilinearExtension};
|
||||
use ark_std::test_rng;
|
||||
use ark_std::{rc::Rc, test_rng};
|
||||
use pcs::{
|
||||
prelude::{KZGMultilinearPCS, PCSErrors, PolynomialCommitmentScheme},
|
||||
StructuredReferenceString,
|
||||
@@ -27,7 +27,7 @@ fn bench_pcs() -> Result<(), PCSErrors> {
|
||||
10
|
||||
};
|
||||
|
||||
let poly = DenseMultilinearExtension::rand(nv, &mut rng);
|
||||
let poly = Rc::new(DenseMultilinearExtension::rand(nv, &mut rng));
|
||||
let (ml_ck, ml_vk) = uni_params.0.trim(nv)?;
|
||||
let (uni_ck, uni_vk) = uni_params.1.trim(nv)?;
|
||||
let ck = (ml_ck, uni_ck);
|
||||
|
||||
Reference in New Issue
Block a user