Skip to content

chore(deps): adopt published SP1 6.10.0 patches - #3027

Merged
fakedev9999 merged 3 commits into
mainfrom
fakedev9999/sp1-6.10.0-published-patches
Oct 23, 2026
Merged

fakedev9999 merged 3 commits into
mainfrom
fakedev9999/sp1-6.10.0-published-patches

Conversation

@fakedev9999

Copy link
Copy Markdown
Member

What

  • Use published BN 0.6.1 and KZG 0.2.9, including the updated BLS dependency in the examples lockfile.
  • Replace temporary revisions and older crypto patch tags with the 6.10.0 tags across tests, examples, and ZKEVM. Preserve the BN and BLS compatibility variants.
  • Regenerate lockfiles with Cargo. Update the proof test macro for the verifier API and declare its required syn/full feature.

Why

Use the published dependencies for SP1 6.10.0.

Validation

  • cargo +1.99.1 check --locked -p sp1-verifier --no-default-features
  • cargo +1.99.1 test --locked -p libzkevm --lib --tests: 28 host tests passed.
  • cargo +1.99.1 clippy --locked -p libzkevm --all-targets -- -D warnings -A incomplete-features
  • cargo +1.99.1 clippy --locked --manifest-path patch-testing/Cargo.toml -p sp1-test-macro --all-targets -- -D warnings
  • Root and patch-testing formatting checks passed. All nine affected workspace lockfiles resolve with cargo metadata --locked --offline.
  • Full platform, GPU, and guest execution checks are deferred to PR CI. No new proof-generation E2E was run for this PR.

@github-actions

Copy link
Copy Markdown
Contributor
Test Old New Diff
secp256k1_program_test_recover_v0_30_0_rand_lte_100 5453413 5498109 0.8196 %
bls12_381_tests_test_field_checks 29324 29324 0.0000 %
p256_test_recover_high_hash_high_recid 4846374 5712567 17.8730 %
bls12_381_tests_test_bls_add_100 10355715 10355715 0.0000 %
bn_test_bn_test_g1_msm_edge 375798 375798 0.0000 %
curve25519_dalek_test_zero_mul 71770 71838 0.0947 %
k256_test_schnorr_verify 5771508 5785513 0.2427 %
rust_crypto_rsa_test_pkcs_verify_100 29267224 29825553 1.9077 %
p256_test_recover_pubkey_infinity 98144 98144 0.0000 %
bls12_381_tests_test_inverse_fp2_100 2216948 2216948 0.0000 %
bls12_381_tests_test_inverse_fp_100 1197070 1197070 0.0000 %
bn_test_bn_test_fq_partial_ord 184528 184528 0.0000 %
k256_test_recover_pubkey_infinity 98610 98610 0.0000 %
k256_test_recover_rand_lte_100 4437586 4437646 0.0014 %
bls12_381_tests_test_sqrt_fp2_100 1752449 1886174 7.6307 %
sha_test_sha2_v0_10_6_expected_digest_lte_100_times 1338331 1344451 0.4573 %
secp256k1_program_test_verify_v0_30_0_rand_lte_100 17102788 17091893 -0.0637 %
bn_test_bn_test_fq_inverse_100 786417 786417 0.0000 %
p256_test_point_checks 347502 347502 0.0000 %
curve25519_dalek_ng_test_decompressed_noncanonical 188407 189834 0.7574 %
bls12_381_tests_test_point_checks 797024 797024 0.0000 %
p256_test_verify_rand_lte_100 12058886 12064595 0.0473 %
curve25519_dalek_test_zero_msm 83359 83427 0.0816 %
curve25519_dalek_ng_test_zero_msm 125101 125133 0.0256 %
curve25519_dalek_test_add_then_multiply 2939398 3357624 14.2283 %
bn_test_bn_test_fq_sqrt_100 787364 787364 0.0000 %
bls12_381_tests_test_v2_point_checks 1738384 1738384 0.0000 %
bn_test_bn_test_g1_add_neg 291962 291962 0.0000 %
curve25519_dalek_test_decompressed_expected_value 4309252 4587863 6.4654 %
bn_test_bn_test_g1_add_100 988617 988631 0.0014 %
secp256k1_program_test_verify_rand_lte_100 17109297 17125098 0.0924 %
bn_test_bn_test_g1_mul_zero 47803 47803 0.0000 %
bn_test_field_checks 31646 31646 0.0000 %
k256_test_field_checks 40519 40519 0.0000 %
rustcrypto_bigint_test_bigint_mul_mod_special 1717435 1717435 0.0000 %
bls12_381_tests_test_v2_field_checks 29324 29324 0.0000 %
curve25519_dalek_test_decompressed_noncanonical 7725 7725 0.0000 %
bn_test_bn_test_g1_double_100 728704 728704 0.0000 %
curve25519_dalek_ng_test_zero_mul 107718 107750 0.0297 %
bls12_381_tests_test_bls_double_100 6284517 6284517 0.0000 %
p256_test_field_checks 47543 47543 0.0000 %
rustcrypto_bigint_test_bigint_mul_add_residue 2053023 2053023 0.0000 %
sha_test_sha2_v0_11_0_expected_digest_lte_100_times 1329624 1330051 0.0321 %
curve25519_dalek_test_ed25519_verify 12940973 12938709 -0.0175 %
k256_test_recover_high_hash_high_recid 2018735 2040803 1.0932 %
secp256k1_program_test_recover_rand_lte_100 5476411 5524186 0.8724 %
sha_test_sha2_v0_10_9_expected_digest_lte_100_times 1343102 1340570 -0.1885 %
sha_test_sha2_v0_9_9_expected_digest_lte_100_times 1253675 1256028 0.1877 %
sha_test_sha2_v0_10_8_expected_digest_lte_100_times 1343559 1343527 -0.0024 %
k256_test_point_ops_edge_cases 40933 40933 0.0000 %
keccack_test_expected_digest_lte_100 1710227 1709249 -0.0572 %
bls12_381_tests_test_sqrt_fp_100 838178 894400 6.7076 %
k256_test_verify_rand_lte_100 11746907 11764901 0.1532 %
curve25519_dalek_ng_test_add_then_multiply 4255073 4618462 8.5401 %
bn_test_bn_test_fr_inverse_100 803517 803517 0.0000 %
sha_test_sha3_expected_digest_lte_100_times 1176259 1176288 0.0025 %
p256_test_recover_rand_lte_100 15965050 15936207 -0.1807 %

@fakedev9999
fakedev9999 merged commit d83ed91 into main Oct 23, 2026
17 checks passed
@fakedev9999
fakedev9999 deleted the fakedev9999/sp1-6.10.0-published-patches branch October 23, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant