Skip to content

Commit 908de06

Browse files
Avaneesh-axiomjonathanpwang
authored andcommitted
Fix lint in ecc tests
1 parent 5c760d7 commit 908de06

7 files changed

+30
-1
lines changed

extensions/ecc/tests/programs/examples/decompress_invalid_hint.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,18 @@ openvm_ecc_sw_macros::sw_declare! {
7373
},
7474
}
7575

76-
openvm::init!("openvm_init_decompress_invalid_hint.rs");
76+
#[cfg(feature = "test_secp256k1_possible")]
77+
openvm::init!("openvm_init_decompress_invalid_hint_secp256k1_possible.rs");
78+
#[cfg(feature = "test_secp256k1_impossible")]
79+
openvm::init!("openvm_init_decompress_invalid_hint_secp256k1_impossible.rs");
80+
#[cfg(feature = "test_curvepoint5mod8_possible")]
81+
openvm::init!("openvm_init_decompress_invalid_hint_curvepoint5mod8_possible.rs");
82+
#[cfg(feature = "test_curvepoint5mod8_impossible")]
83+
openvm::init!("openvm_init_decompress_invalid_hint_curvepoint5mod8_impossible.rs");
84+
#[cfg(feature = "test_curvepoint1mod4_possible")]
85+
openvm::init!("openvm_init_decompress_invalid_hint_curvepoint1mod4_possible.rs");
86+
#[cfg(feature = "test_curvepoint1mod4_impossible")]
87+
openvm::init!("openvm_init_decompress_invalid_hint_curvepoint1mod4_impossible.rs");
7788

7889
trait NonQr<P: WeierstrassPoint> {
7990
fn get_non_qr() -> &'static P::Coordinate;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This file is automatically generated by cargo openvm. Do not rename or edit.
2+
openvm_algebra_guest::moduli_macros::moduli_init! { "115792089237316195423570985008687907853269984665640564039457584007908834671663", "115792089237316195423570985008687907852837564279074904382605163141518161494337", "115792089237316195423570985008687907853269984665640564039457584007913129639501", "1000000007", "26959946667150639794667015087019630673557916260026308143510066298881", "26959946667150639794667015087019625940457807714424391721682722368061" }
3+
openvm_ecc_guest::sw_macros::sw_init! { Secp256k1Point, CurvePoint5mod8, CurvePoint1mod4 }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This file is automatically generated by cargo openvm. Do not rename or edit.
2+
openvm_algebra_guest::moduli_macros::moduli_init! { "115792089237316195423570985008687907853269984665640564039457584007908834671663", "115792089237316195423570985008687907852837564279074904382605163141518161494337", "115792089237316195423570985008687907853269984665640564039457584007913129639501", "1000000007", "26959946667150639794667015087019630673557916260026308143510066298881", "26959946667150639794667015087019625940457807714424391721682722368061" }
3+
openvm_ecc_guest::sw_macros::sw_init! { Secp256k1Point, CurvePoint5mod8, CurvePoint1mod4 }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This file is automatically generated by cargo openvm. Do not rename or edit.
2+
openvm_algebra_guest::moduli_macros::moduli_init! { "115792089237316195423570985008687907853269984665640564039457584007908834671663", "115792089237316195423570985008687907852837564279074904382605163141518161494337", "115792089237316195423570985008687907853269984665640564039457584007913129639501", "1000000007", "26959946667150639794667015087019630673557916260026308143510066298881", "26959946667150639794667015087019625940457807714424391721682722368061" }
3+
openvm_ecc_guest::sw_macros::sw_init! { Secp256k1Point, CurvePoint5mod8, CurvePoint1mod4 }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This file is automatically generated by cargo openvm. Do not rename or edit.
2+
openvm_algebra_guest::moduli_macros::moduli_init! { "115792089237316195423570985008687907853269984665640564039457584007908834671663", "115792089237316195423570985008687907852837564279074904382605163141518161494337", "115792089237316195423570985008687907853269984665640564039457584007913129639501", "1000000007", "26959946667150639794667015087019630673557916260026308143510066298881", "26959946667150639794667015087019625940457807714424391721682722368061" }
3+
openvm_ecc_guest::sw_macros::sw_init! { Secp256k1Point, CurvePoint5mod8, CurvePoint1mod4 }
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This file is automatically generated by cargo openvm. Do not rename or edit.
2+
openvm_algebra_guest::moduli_macros::moduli_init! { "115792089237316195423570985008687907853269984665640564039457584007908834671663", "115792089237316195423570985008687907852837564279074904382605163141518161494337", "115792089237316195423570985008687907853269984665640564039457584007913129639501", "1000000007", "26959946667150639794667015087019630673557916260026308143510066298881", "26959946667150639794667015087019625940457807714424391721682722368061" }
3+
openvm_ecc_guest::sw_macros::sw_init! { Secp256k1Point, CurvePoint5mod8, CurvePoint1mod4 }
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This file is automatically generated by cargo openvm. Do not rename or edit.
2+
openvm_algebra_guest::moduli_macros::moduli_init! { "115792089237316195423570985008687907853269984665640564039457584007908834671663", "115792089237316195423570985008687907852837564279074904382605163141518161494337", "115792089237316195423570985008687907853269984665640564039457584007913129639501", "1000000007", "26959946667150639794667015087019630673557916260026308143510066298881", "26959946667150639794667015087019625940457807714424391721682722368061" }
3+
openvm_ecc_guest::sw_macros::sw_init! { Secp256k1Point, CurvePoint5mod8, CurvePoint1mod4 }

0 commit comments

Comments
 (0)