Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuzz: minor updates to the Simplicity fuzz tests #1414

Merged
merged 2 commits into from
Feb 14, 2025

Conversation

apoelstra
Copy link
Member

There was a bit of dead code laying around, and also we weren't hitting the ERR_CMR error return of the Simplicity interpreter. The former is easy and the latter I was able to hit with a little bit of trickery, without duplicating any work or requiring any new test seeds.

Copy link
Member

@delta1 delta1 left a comment

Choose a reason for hiding this comment

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

utACK a2d24ef

Copy link
Contributor

@roconnor-blockstream roconnor-blockstream left a comment

Choose a reason for hiding this comment

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

LGTM. This line now seems to be covered by the fuzzer.

case SIMPLICITY_ERR_CMR: return set_error(serror, SCRIPT_ERR_SIMPLICITY_CMR);

@delta1 delta1 merged commit e343610 into ElementsProject:master Feb 14, 2025
12 of 13 checks passed
@apoelstra apoelstra deleted the 2025-02--fuzz-update branch February 14, 2025 14:27
delta1 added a commit that referenced this pull request Feb 18, 2025
psgreco added a commit to psgreco/elements that referenced this pull request Feb 18, 2025
…2--fuzz-update"

This reverts commit e343610, reversing
changes made to 0397d22.
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.

3 participants