Skip to content

Fix arbitrary_transaction fuzz target#5054

Merged
apoelstra merged 2 commits intorust-bitcoin:masterfrom
shinghim:tx-fuzz
Sep 30, 2025
Merged

Fix arbitrary_transaction fuzz target#5054
apoelstra merged 2 commits intorust-bitcoin:masterfrom
shinghim:tx-fuzz

Conversation

@shinghim
Copy link
Copy Markdown
Contributor

I thought I tested all of the targets I updated before I published them, but this one slipped through the cracks. Updated to move the serialization before object mutation like before, and I ran cycle.sh to make sure that there weren't any glaringly obvious bugs like the one that I pushed. Also remove some unnecessary asserts mentioned in #5029

@shinghim shinghim marked this pull request as ready for review September 30, 2025 00:31
@github-actions github-actions bot added the test label Sep 30, 2025
Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 3f20d54; successfully ran local tests; but how come our CI was fine with these?

@apoelstra apoelstra merged commit 0051d4d into rust-bitcoin:master Sep 30, 2025
25 checks passed
@shinghim
Copy link
Copy Markdown
Contributor Author

@apoelstra it looks like the daily cron fuzz actions have been failing since I added the one for the arbitrary weight due to the multiplication overflow (related to #4915). I think it'd make sense to remove those constructors from the fuzz test since they're deprecated and will be removed in 1.0, and it would let the fuzz action run

@apoelstra
Copy link
Copy Markdown
Member

@shinghim yeah, agreed, let's remove those from the fuzz tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants