Skip to content

Commit a239ba0

Browse files
committed
Refactor increment function to use UltraHonk types for verification key and proof
1 parent b6d4808 commit a239ba0

File tree

1 file changed

+3
-3
lines changed
  • recursive_verification/contract/src

1 file changed

+3
-3
lines changed

recursive_verification/contract/src/main.nr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub contract ValueNotEqual {
1212
protocol_types::{address::AztecAddress, traits::ToField},
1313
state_vars::{Map, PublicImmutable, PublicMutable},
1414
};
15-
use bb_proof_verification::verify_honk_proof;
15+
use bb_proof_verification::{UltraHonkVerificationKey, UltraHonkZKProof, verify_honk_proof};
1616

1717
#[storage]
1818
struct Storage<Context> {
@@ -30,8 +30,8 @@ pub contract ValueNotEqual {
3030
#[external("private")]
3131
fn increment(
3232
owner: AztecAddress,
33-
verification_key: [Field; HONK_VK_SIZE],
34-
proof: [Field; HONK_PROOF_SIZE],
33+
verification_key: UltraHonkVerificationKey,
34+
proof: UltraHonkZKProof,
3535
public_inputs: [Field; 1],
3636
) {
3737
debug_log_format("Incrementing counter for owner {0}", [owner.to_field()]);

0 commit comments

Comments
 (0)