From b31ba6f9cc543fa1191fcf45df455a05313410b8 Mon Sep 17 00:00:00 2001 From: Shramee Srivastav Date: Wed, 1 Jan 2025 16:15:32 +0530 Subject: [PATCH] chore: update ecip classhash --- hydra/garaga/starknet/groth16_contract_generator/generator.py | 2 +- .../groth16_example_bls12_381/src/groth16_verifier.cairo | 2 +- src/contracts/groth16_example_bn254/src/groth16_verifier.cairo | 2 +- src/contracts/risc0_verifier_bn254/src/groth16_verifier.cairo | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hydra/garaga/starknet/groth16_contract_generator/generator.py b/hydra/garaga/starknet/groth16_contract_generator/generator.py index 6090ac3a..8d916b64 100644 --- a/hydra/garaga/starknet/groth16_contract_generator/generator.py +++ b/hydra/garaga/starknet/groth16_contract_generator/generator.py @@ -8,7 +8,7 @@ from garaga.starknet.cli.utils import create_directory, get_package_version from garaga.starknet.groth16_contract_generator.parsing_utils import Groth16VerifyingKey -ECIP_OPS_CLASS_HASH = 0x684D2756A4440C190A5FE54E367C0ABE33AEFA75084DEC2FFFC791B620C80E3 +ECIP_OPS_CLASS_HASH = 0x413A1ED3773531DC6862144E21A53F547E97BFFAE4544AB354F3818C78861EC def precompute_lines_from_vk(vk: Groth16VerifyingKey) -> StructArray: diff --git a/src/contracts/groth16_example_bls12_381/src/groth16_verifier.cairo b/src/contracts/groth16_example_bls12_381/src/groth16_verifier.cairo index e71b19a8..57c02ade 100644 --- a/src/contracts/groth16_example_bls12_381/src/groth16_verifier.cairo +++ b/src/contracts/groth16_example_bls12_381/src/groth16_verifier.cairo @@ -18,7 +18,7 @@ mod Groth16VerifierBLS12_381 { use super::{N_PUBLIC_INPUTS, vk, ic, precomputed_lines}; const ECIP_OPS_CLASS_HASH: felt252 = - 0x684d2756a4440c190a5fe54e367c0abe33aefa75084dec2fffc791b620c80e3; + 0x413a1ed3773531dc6862144e21a53f547e97bffae4544ab354f3818c78861ec; #[storage] struct Storage {} diff --git a/src/contracts/groth16_example_bn254/src/groth16_verifier.cairo b/src/contracts/groth16_example_bn254/src/groth16_verifier.cairo index 237d7fc6..46ce1e4b 100644 --- a/src/contracts/groth16_example_bn254/src/groth16_verifier.cairo +++ b/src/contracts/groth16_example_bn254/src/groth16_verifier.cairo @@ -18,7 +18,7 @@ mod Groth16VerifierBN254 { use super::{N_PUBLIC_INPUTS, vk, ic, precomputed_lines}; const ECIP_OPS_CLASS_HASH: felt252 = - 0x684d2756a4440c190a5fe54e367c0abe33aefa75084dec2fffc791b620c80e3; + 0x413a1ed3773531dc6862144e21a53f547e97bffae4544ab354f3818c78861ec; #[storage] struct Storage {} diff --git a/src/contracts/risc0_verifier_bn254/src/groth16_verifier.cairo b/src/contracts/risc0_verifier_bn254/src/groth16_verifier.cairo index 03b7b89c..3151188c 100644 --- a/src/contracts/risc0_verifier_bn254/src/groth16_verifier.cairo +++ b/src/contracts/risc0_verifier_bn254/src/groth16_verifier.cairo @@ -19,7 +19,7 @@ mod Risc0Groth16VerifierBN254 { use super::{N_FREE_PUBLIC_INPUTS, vk, ic, precomputed_lines, T}; const ECIP_OPS_CLASS_HASH: felt252 = - 0x684d2756a4440c190a5fe54e367c0abe33aefa75084dec2fffc791b620c80e3; + 0x413a1ed3773531dc6862144e21a53f547e97bffae4544ab354f3818c78861ec; #[storage] struct Storage {}