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

fixup fuzzer #720

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Sep 24, 2024

No description provided.

@arvidn arvidn requested a review from matt-o-how September 24, 2024 07:00
@arvidn arvidn marked this pull request as ready for review September 24, 2024 07:00
@arvidn arvidn force-pushed the patch-optimize_get_conditions branch from f3010be to 4d57ab5 Compare September 24, 2024 07:27
@matt-o-how matt-o-how merged commit faaba35 into optimize_get_conditions Sep 24, 2024
58 checks passed
@matt-o-how matt-o-how deleted the patch-optimize_get_conditions branch September 24, 2024 08:08
arvidn added a commit that referenced this pull request Sep 24, 2024
…ator's size without creating the generator (#714)

* add function for calculating generator size without allocations

* fix off by one error for low amounts

* move unused import to test mod

* fix amount = 0 case

* take coinspend by reference

* clippy fix

* use amount comparison optimisation

* add fuzzer

* fmt

* add variance to fuzzer by breaking instead of quitting on invalid coinspend

* use while loop and consume `data`

* further clarify cost calculation and generalise the amount_to_bytes_len function

* fix comment

* hand failure to create solution_generator()

* fmt

* debugging in CI

* parse as untrusted

* further debugging in CI required

* add in accounting for puzzle and solution as atoms

* debug in ci

* ignore backrefs and add edgecase test

* fmt

* remove debug panic

* clippy fix

* remote debug CI again

* expect node

* fixup fuzzer (#720)

* remove debug code

* update comment

* Update crates/chia-consensus/fuzz/fuzz_targets/solution-generator.rs

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>

---------

Co-authored-by: Arvid Norberg <arvid.norberg@gmail.com>
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
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.

2 participants