Skip to content

Commit 042c0d8

Browse files
author
tilo-14
committed
refactor(zk-nullifier): Rename verifying keys to match light-protocol pattern
- verifying_key.rs → nullifier_1.rs - batch_verifying_key.rs → nullifier_batch_4.rs
1 parent edd47a2 commit 042c0d8

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎zk/zk-nullifier/src/lib.rs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ pub const NULLIFIER_PREFIX: &[u8] = b"nullifier";
2525
// Max nullifiers per tx: 1 (single) or 4 (batch)
2626
pub const BATCH_SIZE: usize = 4;
2727

28-
pub mod verifying_key;
29-
pub mod batch_verifying_key;
28+
pub mod nullifier_1;
29+
pub mod nullifier_batch_4;
3030

3131
#[program]
3232
pub mod zk_nullifier {
@@ -80,7 +80,7 @@ pub mod zk_nullifier {
8080
&proof_b,
8181
&proof_c,
8282
&public_inputs,
83-
&crate::verifying_key::VERIFYINGKEY,
83+
&crate::nullifier_1::VERIFYINGKEY,
8484
)
8585
.map_err(|e| {
8686
let code: u32 = e.into();
@@ -169,7 +169,7 @@ pub mod zk_nullifier {
169169
&proof_b,
170170
&proof_c,
171171
&public_inputs,
172-
&crate::batch_verifying_key::VERIFYINGKEY,
172+
&crate::nullifier_batch_4::VERIFYINGKEY,
173173
)
174174
.map_err(|e| {
175175
let code: u32 = e.into();
File renamed without changes.

0 commit comments

Comments
 (0)