From b538a1095652f535aeb15f6e3bbc44969db1ea88 Mon Sep 17 00:00:00 2001 From: "Jamil Lambert, PhD" Date: Tue, 20 May 2025 16:07:03 +0100 Subject: [PATCH] Add deprecated functions to mutants exclude list New mutants found in deprecated functions in the weekly mutation testing. Add the deprecated functions to the exclude list so they are not mutated. --- .cargo/mutants.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cargo/mutants.toml b/.cargo/mutants.toml index 87cffbcf2..70a1b8fd3 100644 --- a/.cargo/mutants.toml +++ b/.cargo/mutants.toml @@ -23,6 +23,8 @@ exclude_re = [ "FeeRate::fee_vb", # Deprecated "FeeRate::fee_wu", # Deprecated "SignedAmount::checked_abs", # Deprecated + "NumberOfBlocks::value", # Deprecated + "NumberOf512Seconds::to_consensus_u32", # Deprecated # primitives "Sequence::from_512_second_intervals", # Mutant from replacing | with ^, this returns the same value since the XOR is taken against the u16 with an all-zero bitmask