Skip to content

fuzz: agree when cmpct getblocktxn is a subset - #681

Merged
reardencode merged 1 commit into
masterfrom
fuzz/cmpct-extra-ours
Sep 22, 2026
Merged

reardencode merged 1 commit into
masterfrom
fuzz/cmpct-extra-ours

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Summary

cmpct_getblocktxn_agrees was documented as “Core’s indexes are a subset of ours” (018: we still getblocktxn a duplicate-txid slot Core’s extra-txn already filled). The code only allowed the one recipe [1, 4] vs [1].

Nightly cmpct_differential panicked on [0, 251, 229, 55, 51, 13, 10]: ours [2, 4], Core [2]. Same shape, different indexes. Any Core list contained in ours now agrees. A Core index we did not request still fails.

Test plan

  • cargo test --manifest-path fuzz/Cargo.toml --lib overnight
  • Required CI

018 already treats an extra missing index as our lack of Core's
extra-txn ring. The check only allowed recipe [1, 4] vs [1], so
nightly ours [2, 4] vs Core [2] still panicked. Any Core index list
contained in ours agrees; a Core index we did not request still fails.
@rearden-grok
rearden-grok Bot force-pushed the fuzz/cmpct-extra-ours branch from 527d337 to 0613084 Compare September 22, 2026 14:16
@reardencode
reardencode merged commit aacd1ae into master Sep 22, 2026
21 checks passed
@rearden-grok
rearden-grok Bot deleted the fuzz/cmpct-extra-ours branch September 22, 2026 15:59
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.

1 participant