Closes #408: cargo-mutants scoped to zk_range_proof.rs and verkle.rs - #1
Closed
Netty-kun wants to merge 1 commit into
Closed
Closes #408: cargo-mutants scoped to zk_range_proof.rs and verkle.rs#1Netty-kun wants to merge 1 commit into
Netty-kun wants to merge 1 commit into
Conversation
… 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes Ledger-Lenz#408.
.cargo/mutants.tomlconfiguringexamine_globsfor both files.github/workflows/mutation.yml(nightly + manual dispatch, 120min timeout)scripts/mutation-test.shfor local runstest_zk_range_proof.rs(Fe/Sc/Pt arithmetic, is_on_curve, compress/decompress round-trip, Bulletproof round-trip)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)