Skip to content

Commit c0a089e

Browse files
chore: address-append-250 & combined_26_40 download fix (#1797)
* * regenerate address_append_40_250, add to DO storage * update address_append_40_250 vkey * add address_append_40_250 to download_keys.sh (full mode) * add combined_26_40* to download_keys.sh * sort CHECKSUM entries when generating checksum * - Remove vkeys 1, 100, and 1000 for append - Remove vkeys 1, 100, and 1000 for update - Add vkey 250 for address-append - Remove unused combined 26_40
1 parent 0c0c900 commit c0a089e

15 files changed

+53
-750
lines changed

program-libs/verifier/src/lib.rs

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -311,21 +311,11 @@ pub fn verify_batch_append_with_proofs(
311311
compressed_proof,
312312
&append_with_proofs_32_10::VERIFYINGKEY,
313313
),
314-
100 => verify::<1>(
315-
&[public_input_hash],
316-
compressed_proof,
317-
&append_with_proofs_32_100::VERIFYINGKEY,
318-
),
319314
500 => verify::<1>(
320315
&[public_input_hash],
321316
compressed_proof,
322317
&append_with_proofs_32_500::VERIFYINGKEY,
323318
),
324-
1000 => verify::<1>(
325-
&[public_input_hash],
326-
compressed_proof,
327-
&append_with_proofs_32_1000::VERIFYINGKEY,
328-
),
329319
_ => Err(crate::InvalidPublicInputsLength),
330320
}
331321
}
@@ -337,31 +327,16 @@ pub fn verify_batch_update(
337327
compressed_proof: &CompressedProof,
338328
) -> Result<(), VerifierError> {
339329
match batch_size {
340-
1 => verify::<1>(
341-
&[public_input_hash],
342-
compressed_proof,
343-
&update_32_1::VERIFYINGKEY,
344-
),
345330
10 => verify::<1>(
346331
&[public_input_hash],
347332
compressed_proof,
348333
&update_32_10::VERIFYINGKEY,
349334
),
350-
100 => verify::<1>(
351-
&[public_input_hash],
352-
compressed_proof,
353-
&update_32_100::VERIFYINGKEY,
354-
),
355335
500 => verify::<1>(
356336
&[public_input_hash],
357337
compressed_proof,
358338
&update_32_500::VERIFYINGKEY,
359339
),
360-
1000 => verify::<1>(
361-
&[public_input_hash],
362-
compressed_proof,
363-
&update_32_1000::VERIFYINGKEY,
364-
),
365340
_ => Err(crate::InvalidPublicInputsLength),
366341
}
367342
}
@@ -373,30 +348,15 @@ pub fn verify_batch_address_update(
373348
compressed_proof: &CompressedProof,
374349
) -> Result<(), VerifierError> {
375350
match batch_size {
376-
1 => verify::<1>(
377-
&[public_input_hash],
378-
compressed_proof,
379-
&crate::verifying_keys::address_append_40_1::VERIFYINGKEY,
380-
),
381351
10 => verify::<1>(
382352
&[public_input_hash],
383353
compressed_proof,
384354
&crate::verifying_keys::address_append_40_10::VERIFYINGKEY,
385355
),
386-
100 => verify::<1>(
387-
&[public_input_hash],
388-
compressed_proof,
389-
&crate::verifying_keys::address_append_40_100::VERIFYINGKEY,
390-
),
391-
500 => verify::<1>(
392-
&[public_input_hash],
393-
compressed_proof,
394-
&crate::verifying_keys::address_append_40_500::VERIFYINGKEY,
395-
),
396-
1000 => verify::<1>(
356+
250 => verify::<1>(
397357
&[public_input_hash],
398358
compressed_proof,
399-
&crate::verifying_keys::address_append_40_1000::VERIFYINGKEY,
359+
&crate::verifying_keys::address_append_40_250::VERIFYINGKEY,
400360
),
401361
_ => Err(crate::InvalidPublicInputsLength),
402362
}

program-libs/verifier/src/verifying_keys/address_append_40_1.rs

Lines changed: 0 additions & 65 deletions
This file was deleted.

program-libs/verifier/src/verifying_keys/address_append_40_100.rs

Lines changed: 0 additions & 65 deletions
This file was deleted.

program-libs/verifier/src/verifying_keys/address_append_40_1000.rs

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)