Skip to content

Closes #408: cargo-mutants scoped to zk_range_proof.rs and verkle.rs - #1

Closed
Netty-kun wants to merge 1 commit into
mainfrom
fix/408-mutation-testing
Closed

Closes #408: cargo-mutants scoped to zk_range_proof.rs and verkle.rs#1
Netty-kun wants to merge 1 commit into
mainfrom
fix/408-mutation-testing

Conversation

@Netty-kun

Copy link
Copy Markdown
Owner

Closes Ledger-Lenz#408.

  • Add .cargo/mutants.toml configuring examine_globs for both files
  • Add .github/workflows/mutation.yml (nightly + manual dispatch, 120min timeout)
  • Add scripts/mutation-test.sh for local runs
  • Add 14 new unit tests to test_zk_range_proof.rs (Fe/Sc/Pt arithmetic, is_on_curve, compress/decompress round-trip, Bulletproof round-trip)
  • Add 15 new unit tests to test_verkle.rs (xor32, derive_evaluation_point, derive_value_element, hash_leaf, encode/decode round-trip, commitment_to_bytes48/bytes48_to_commitment round-trip, update_commitment, verify_proof with bogus witness)

Total: 57 tests for the two modules (was 26, now +29)

… verkle.rs

- Add .cargo/mutants.toml configuring examine_globs for both files
- Add .github/workflows/mutation.yml (nightly + manual dispatch, 120min timeout)
- Add scripts/mutation-test.sh for local runs
- Add 14 new unit tests to test_zk_range_proof.rs (Fe/Sc/Pt arithmetic,
  is_on_curve, compress/decompress round-trip, Bulletproof round-trip)
- Add 15 new unit tests to test_verkle.rs (xor32, derive_evaluation_point,
  derive_value_element, hash_leaf, encode/decode round-trip,
  commitment_to_bytes48/bytes48_to_commitment round-trip, update_commitment,
  verify_proof with bogus witness)

Total: 57 tests for the two modules (was 26, now +29)
@Netty-kun Netty-kun closed this Jul 20, 2026
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.

Scope cargo-mutants mutation testing to zk_range_proof.rs and verkle.rs

1 participant