-
Notifications
You must be signed in to change notification settings - Fork 2k
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
lnwire,wtwire: use require package for fuzz tests #7709
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few nits, otherwise LGTM 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! left a simplification suggestion
also - pls remember to add an entry to the release notes :)
lnwire/fuzz_test.go
Outdated
|
||
require.Equal(t, first.ChainHash, second.ChainHash) | ||
require.Equal(t, first.PendingChannelID, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates! looking good :) can you pls squash the fixups?
Rebased and squashed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just needs another rebase as there is a merge conflict in the release docs 🙏
Simplify code by using the require package instead of t.Fatal().
Simplify code by using the require package instead of t.Fatal().
Rebased. |
Simplify code by using the
require
package instead oft.Fatal
.This is the follow-up PR promised on #7649 (comment). @ellemouton
Tested on my local seed corpora and with a few CPU hours of fuzz time for arbitrary fuzz targets.