Skip to content

Commit

Permalink
hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jtguibas committed Dec 19, 2024
1 parent 6b68a6b commit 922c592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/core/executor/src/hook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ pub struct HookEnv<'a, 'b: 'a> {
/// WARNING: This function is used to recover the public key outside of the zkVM context. These
/// values must be constrained by the zkVM for correctness.
#[must_use]
#[deprecated = "Use `hook_ecrecover_v2` instead."]
pub fn hook_ecrecover(_: HookEnv, buf: &[u8]) -> Vec<Vec<u8>> {
assert_eq!(buf.len(), 65 + 32, "ecrecover input should have length 65 + 32");
let (sig, msg_hash) = buf.split_at(65);
Expand Down
3 changes: 3 additions & 0 deletions crates/verifier/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use sp1_sdk::{install::try_install_circuit_artifacts, SP1ProofWithPublicValues};
extern crate std;

#[test]
#[ignore]
fn test_verify_groth16() {
// Location of the serialized SP1ProofWithPublicValues. See README.md for more information.
let proof_file = "test_binaries/fibonacci-groth16.bin";
Expand All @@ -21,6 +22,7 @@ fn test_verify_groth16() {
}

#[test]
#[ignore]
fn test_verify_plonk() {
// Location of the serialized SP1ProofWithPublicValues. See README.md for more information.
let proof_file = "test_binaries/fibonacci-plonk.bin";
Expand All @@ -39,6 +41,7 @@ fn test_verify_plonk() {
}

#[test]
#[ignore]
fn test_vkeys() {
let groth16_path = try_install_circuit_artifacts("groth16");
let s3_vkey_path = groth16_path.join("groth16_vk.bin");
Expand Down

0 comments on commit 922c592

Please sign in to comment.