Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luffykai committed Jan 6, 2025
1 parent 3f86b6b commit 0a36695
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarks/programs/ecrecover/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ openvm_algebra_guest::moduli_setup::moduli_init! {
"0xFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE BAAEDCE6 AF48A03B BFD25E8C D0364141"
}
openvm_ecc_guest::sw_setup::sw_init! {
Secp256k1Coord,
Secp256k1Point,
}

pub fn main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/ecc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ openvm_algebra_guest::moduli_setup::moduli_init! {
}

openvm_ecc_guest::sw_setup::sw_init! {
Secp256k1Coord,
Secp256k1Point,
}
// ANCHOR_END: init

Expand Down
4 changes: 4 additions & 0 deletions extensions/ecc/tests/programs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ lto = "thin" # turn on lto = fat to decrease binary size, but this optimizes
name = "ec"
required-features = ["k256"]

[[example]]
name = "ec_nonzero_a"
required-features = ["p256"]

[[example]]
name = "decompress"
required-features = ["k256"]
Expand Down
4 changes: 2 additions & 2 deletions extensions/snark-verifier/src/bin/verify.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use openvm_algebra_guest::{complex_macros::complex_init, moduli_setup::moduli_init};
use openvm_ecc_guest::sw_setup::sw_init;
#[allow(unused_imports)]
use openvm_pairing_guest::bn254::Bn254Fp;
use openvm_pairing_guest::bn254::Bn254G1Affine;
use openvm_snark_verifier::PlonkVerifierContext;

moduli_init! {
Expand All @@ -14,7 +14,7 @@ complex_init! {
}

sw_init! {
Bn254Fp
Bn254G1Affine
}

fn main() {
Expand Down

0 comments on commit 0a36695

Please sign in to comment.