-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Randomized fuzzer: expected to find slashing period, but none was found #2225
Comments
Blocks 0.25. |
If you set the number of blocks to 260 this fails on latest develop, with no operations needing to be commented out. Fails on block 252. (Took ~100 seconds to get there on my machine in benchmark mode. Testing mode is significantly slower, perhaps we shouldn't run the invariant every single time. Disabling invariants for the first 150 blocks made this take 10 minutes to get there in testing mode, but currently we don't print the log message in event of a panic.) |
To get logs for this one, use #2285, and set the It now takes ~6-7 minutes. |
Closing this in favor of #2312. |
Actually, re-opening this to keep track of the issue. |
#2430 will close, the height should have been stored as big endian. |
Closed by #2430. |
Steps to Reproduce
Set
-SimulationNumBlocks=500
in one of the makefile simulator commands.Comment out:
in
$GOPATH/src/github.com/cosmos/cosmos-sdk/cmd/gaia/app/sim_test.go
.Bug
This bug is blocking a change I was making to governance simulation. (Making it use future operations instead of normal operations) I'll probably PR it anyway, since this being on develop indicates its not introduced by my PR, just that my PR changes the randomness so it occurs sooner.
As an additional comment, we should add an additional defer so we can recover in these situations and still print out the log.
The text was updated successfully, but these errors were encountered: