SiaFoundation / core

Core packages for the Sia project
MIT License
51 stars 8 forks source link

Add SpendPolicy fuzzer #171

Closed chris124567 closed 3 months ago

chris124567 commented 3 months ago

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
lukechampine commented 3 months ago

probably has the most complicated decoding logic of all the types

well, except V2TransactionsMultiproof... 😬