Add consensus_encoding to mutation testing
What changed, and why it matters
This commit only changes the project's mutation testing configuration. It adds the consensus_encoding crate to the list of source files that are automatically checked by a mutation testing tool. No production code, APIs, or security-sensitive logic was modified.
No security action needed. This is a benign testing infrastructure change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates .cargo/mutants.toml, adding consensus_encoding/src/*/.rs to the examine_globs list. This is a testing/CI configuration change that expands mutation test coverage to another crate. It does not alter any runtime behavior, cryptographic code, serialization logic, or consensus rules.
Changed components
.cargo/mutants.tomlInspect captured patch +1 / −1
diff --git a/.cargo/mutants.toml b/.cargo/mutants.toml
index a12e983c..3c335f7c 100644
--- a/.cargo/mutants.toml
+++ b/.cargo/mutants.toml
@@ -1,5 +1,5 @@
additional_cargo_args = ["--all-features"]
-examine_globs = ["units/src/**/*.rs", "primitives/src/**/*.rs"]
+examine_globs = ["consensus_encoding/src/**/*.rs", "units/src/**/*.rs", "primitives/src/**/*.rs"]
exclude_globs = [
"units/src/amount/verification.rs" # kani tests
]
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.