Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ strum_macros = "0.24.1"
ff = "0.12"
cfg-if = "1.0.0"
halo2_proofs = { git = "https://github.com/DelphinusLab/halo2-gpu-specific.git", tag="stable-logup-shuffle-v1.0.0",default-features = true }
halo2ecc-o = { git = "https://github.com/ooglayout/halo2ecc-o.git"}
halo2ecc-o = { git = "https://github.com/mooreland/halo2ecc-o.git",branch = "support_bls381"}
itertools = "0.10.0"
num-bigint = { version = "0.4", features = ["rand"] }
poseidon = { git = "https://github.com/DelphinusLab/poseidon" }
Expand Down Expand Up @@ -54,4 +54,4 @@ mongo-std-sync = ["mongodb/sync"]
mongo-tokio-sync = ["mongodb/tokio-sync"]
cuda = ["halo2_proofs/cuda"]
complex-leaf = []
profile = ["ark-std/print-trace", "halo2_proofs/profile", "circuits-batcher/profile"]
profile = ["ark-std/print-trace", "halo2_proofs/profile", "circuits-batcher/profile"]
2 changes: 0 additions & 2 deletions src/adaptor/bls381adaptor → src/adaptor/bls381adaptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ impl HostOpSelector for Bls381PairChip<Fr> {
arg_cells: &Vec<Limb<Fr>>,
layouter: &impl Layouter<Fr>,
) -> Result<(), Error> {
self.range_chip.init_table(layouter)?;
let a = arg_cells[0..9].to_vec();
let b = arg_cells[9..26].to_vec();
let ab = arg_cells[26..74].to_vec();
Expand Down Expand Up @@ -521,7 +520,6 @@ impl HostOpSelector for Bls381SumChip<Fr> {
arg_cells: &Vec<Limb<Fr>>,
layouter: &impl Layouter<Fr>,
) -> Result<(), Error> {
self.range_chip.init_table(layouter)?;
self.load_bls381_sum_circuit(&arg_cells, layouter)?;
Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion src/adaptor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::utils::field_to_bn;
use halo2_proofs::arithmetic::{BaseExt, FieldExt};
use num_bigint::BigUint;

// pub mod bls381adaptor;
pub mod bls381adaptor;
pub mod bn256adaptor;
pub mod hashadaptor;
pub mod keccakadaptor;
Expand Down
Loading