Skip to content

Commit b4e7499

Browse files
committed
chores: rename function
1 parent 8cea710 commit b4e7499

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ceno_zkvm/src/scheme/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ fn test_rw_lk_expression_combination() {
227227
Instrumented::<<<E as ExtensionField>::BaseField as PoseidonField>::P>::clear_metrics();
228228
}
229229
verifier
230-
.verify_opcode_proof(
230+
.verify_chip_proof(
231231
name.as_str(),
232232
verifier.vk.circuit_vks.get(&name).unwrap(),
233233
&proof,

ceno_zkvm/src/scheme/verifier.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl<E: ExtensionField, PCS: PolynomialCommitmentScheme<E>> ZKVMVerifier<E, PCS>
225225

226226
logup_sum += chip_logup_sum;
227227
};
228-
let input_opening_point = self.verify_opcode_proof(
228+
let input_opening_point = self.verify_chip_proof(
229229
circuit_name,
230230
circuit_vk,
231231
proof,
@@ -312,10 +312,9 @@ impl<E: ExtensionField, PCS: PolynomialCommitmentScheme<E>> ZKVMVerifier<E, PCS>
312312
Ok(true)
313313
}
314314

315-
// TODO: unify `verify_opcode_proof` and `verify_table_proof`
316315
/// verify proof and return input opening point
317316
#[allow(clippy::too_many_arguments)]
318-
pub fn verify_opcode_proof(
317+
pub fn verify_chip_proof(
319318
&self,
320319
_name: &str,
321320
circuit_vk: &VerifyingKey<E>,

0 commit comments

Comments
 (0)