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

Add SpendPolicy fuzzer #171

Merged
merged 6 commits into from
Jun 15, 2024
Merged

Add SpendPolicy fuzzer #171

merged 6 commits into from
Jun 15, 2024

Conversation

chris124567
Copy link
Member

@chris124567 chris124567 commented Jun 13, 2024

Fuzz decoding of SpendPolicy which is probably has the most complicated decoding logic of all the types. I have been running for ~30 minutes and coverage has not flatlined yet.

Run with:

$ go test -fuzz FuzzSpendPolicy ./types

types/encoding.go Outdated Show resolved Hide resolved
@lukechampine
Copy link
Member

probably has the most complicated decoding logic of all the types

well, except V2TransactionsMultiproof... 😬

@n8maninger n8maninger merged commit 2c5f229 into master Jun 15, 2024
8 checks passed
@n8maninger n8maninger deleted the add-spendpolicy-fuzzer branch June 15, 2024 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants