-
Notifications
You must be signed in to change notification settings - Fork 231
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
[Fuzzing] Crash on nfuzz_attestation #659
Comments
attach files here, note version? |
A bit annoying I can't attach the ssz directly: This is a BeaconState + Attestation ssz container that, when passed to |
I haven't investigated this scenario, but I assume this highlights a gap in our consensus tests. Also, can someone add me to the fuzzing discord? |
I think I've narrowed it down: Because a larger index is allowed through, |
@djrtwo I'm not certain re concensus tests, as this is effectively a "crash" of nim-beacon-chain, when it should return false (allowing nimbus to continue running). In pyspec, this would be triggering an AssertionError anyway. If the above understanding of the bug is correct, an equivalent bug in the pyspec would be for If the tests are only checking whether an assert is triggered, they would not be able to differentiate between these. Can someone confirm whether my understanding is correct? |
Interesting, I see. That said, this codepath is clearly not triggered in Nimbus during the consensus tests. It seems likely that we can and should craft a consensus test that would trigger this code path. I'll monitor this thread and make a call when y'all post a fix |
In theory, this should be fixed in |
Feel free to re-open if this isn't, in fact, fixed. |
See the fuzzing input pinned in the fuzzing discord channel.
The text was updated successfully, but these errors were encountered: