From 920c6ede9fffe07c297e218f31637f65e2435ad0 Mon Sep 17 00:00:00 2001 From: Nikita Masych Date: Wed, 11 Dec 2024 14:43:52 +0200 Subject: [PATCH] fix: ecpairing fsm placeholder state defaults to 1 --- crates/zkevm_circuits/src/bn254/ec_pairing/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/zkevm_circuits/src/bn254/ec_pairing/input.rs b/crates/zkevm_circuits/src/bn254/ec_pairing/input.rs index 4c6086d..91fda55 100644 --- a/crates/zkevm_circuits/src/bn254/ec_pairing/input.rs +++ b/crates/zkevm_circuits/src/bn254/ec_pairing/input.rs @@ -51,7 +51,7 @@ impl CSPlaceholder for EcPairingFunctionFSM { read_precompile_call: boolean_false, read_words_for_round: boolean_false, completed: boolean_false, - pairing_inner_state: BN256Fq12NNField::zero(cs, params), + pairing_inner_state: BN256Fq12NNField::one(cs, params), timestamp_to_use_for_read: zero_u32, timestamp_to_use_for_write: zero_u32, precompile_call_params: EcPairingPrecompileCallParams::::placeholder(cs),