Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ before 1.0).

### Fixed

- **Weekday script-verify fuzz skip floor is 0.3%:** the 600s job lands
near 0.43% real comparisons (2026-09-21..23). The 0.5% bar was the
Sunday hour, which just clears it. A mute run still fails.

- **`cmpct_differential` extra `getblocktxn`:** agree whenever Core's
indexes are a subset of ours, not only recipe `[1, 4]` vs `[1]`.
Nightly `[0, 251, 229, 55, 51, 13, 10]` is ours `[2, 4]` vs Core `[2]`.
Expand Down
6 changes: 5 additions & 1 deletion scripts/fuzz-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,11 @@ if [[ "$st" -ne 0 ]]; then
exit "$st"
fi
rate=0.01
if [[ "$BIN" == "mempool_differential" || "$BIN" == "script_verify_differential" ]]; then
if [[ "$BIN" == "mempool_differential" ]]; then
rate=0.005
elif [[ "$BIN" == "script_verify_differential" ]]; then
# Weekday runs are 600s. Those nights land near 0.43% comparisons.
# The Sunday hour just clears 0.5%. 0.3% still rejects a mute harness.
rate=0.003
fi
fail_if_no_comparisons "$log" "$rate"
10 changes: 9 additions & 1 deletion scripts/fuzz-run.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,15 @@ assert_ok "skip-heavy 1/10000 fails 0.5%" \
echo "Done 10000 runs in 120 second(s)"
} >"$WORKDIR/sv-zero.log"
assert_ok "skip-heavy still fails on zero comparisons" \
bash -c '! '"$RUN"' --check-log '"$WORKDIR/sv-zero.log"' 0.005'
bash -c '! '"$RUN"' --check-log '"$WORKDIR/sv-zero.log"' 0.003'
{
echo "script-verify-differential: comparisons=8000"
echo "Done 1868610 runs in 601 second(s)"
} >"$WORKDIR/sv-weekday.log"
assert_ok "weekday script-verify 8000/1.8M passes 0.3%" \
"$RUN" --check-log "$WORKDIR/sv-weekday.log" 0.003
assert_ok "same night fails the 0.5% bar" \
bash -c '! '"$RUN"' --check-log '"$WORKDIR/sv-weekday.log"' 0.005'

mkdir -p "$WORKDIR/corpus"
echo grown >"$WORKDIR/corpus/height1.bin"
Expand Down
Loading