Skip to content

Commit 021bb79

Browse files
Fix import path bugs in pairing guest lib
1 parent 652bf3c commit 021bb79

File tree

1 file changed

+4
-4
lines changed
  • guest-libs/pairing/tests

1 file changed

+4
-4
lines changed

guest-libs/pairing/tests/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mod bn254 {
1515
arch::SystemConfig,
1616
utils::{air_test, air_test_impl, air_test_with_min_segments},
1717
};
18-
use openvm_ecc_circuit::{EccExtension, Rv32WeierstrassConfig};
18+
use openvm_ecc_circuit::{EccExtension, Rv32EccConfig};
1919
use openvm_ecc_guest::{
2020
algebra::{field::FieldExtension, IntMod},
2121
AffinePoint,
@@ -54,15 +54,15 @@ mod bn254 {
5454
io: Default::default(),
5555
modular: ModularExtension::new(primes.to_vec()),
5656
fp2: Fp2Extension::new(primes_with_names),
57-
weierstrass: EccExtension::new(vec![], vec![]),
57+
ecc: EccExtension::new(vec![], vec![]),
5858
pairing: PairingExtension::new(vec![PairingCurve::Bn254]),
5959
}
6060
}
6161

6262
#[test]
6363
fn test_bn_ec() -> Result<()> {
6464
let curve = PairingCurve::Bn254.curve_config();
65-
let config = Rv32WeierstrassConfig::new(vec![curve]);
65+
let config = Rv32EccConfig::new(vec![curve], vec![]);
6666
let elf = build_example_program_at_path_with_features(
6767
get_programs_dir!("tests/programs"),
6868
"bn_ec",
@@ -503,7 +503,7 @@ mod bls12_381 {
503503
io: Default::default(),
504504
modular: ModularExtension::new(primes.to_vec()),
505505
fp2: Fp2Extension::new(primes_with_names),
506-
weierstrass: EccExtension::new(vec![], vec![]),
506+
ecc: EccExtension::new(vec![], vec![]),
507507
pairing: PairingExtension::new(vec![PairingCurve::Bls12_381]),
508508
}
509509
}

0 commit comments

Comments
 (0)