-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Random Fuzzer panic: calculated final stake greater than current stake #4367
Comments
Full log: |
Here is another way to replicate this panic:
Output:
Full output log: Full simulation log: |
Using the following seed on v0.34.4, I do not get this failure. See here. |
If your cosmos-sdk version is the same, why is the RNG generating different set of parameters on your system? Could this be due to something else? Your parameters are different (and there are two seeds that produce this bug on my system: Note that this is related to our discussion here: Parameters to reproduce the bug (truncated, see full log above):
Your parameters (different so won't reproduce the bug):
Again, I believe there needs to be a way to inject the exact same parameter set in the tests, or we will have very little guarantee that things that have been tested in the past are still getting tested now... |
Not necessarily. This is most likely due to the fact of you actually running different code. Did you checkout the release branch or the tag? Also, maybe double check you are indeed running it on v0.34.4 tag. |
Using the following diff on tag
I believe we should re-open this bug, and re-consider hardcoded parameters sets for testing. What do you think? Thanks! |
@npinto is the bug |
No. Please, see above. You can reproduce the exact set of parameters that reproduce the bug if you backport the bug fix for MinDeposit. |
Summary of Bug
Running the following command on
v0.34.4
:go test ./cmd/gaia/app -run TestFullGaiaSimulation -SimulationEnabled=true -SimulationNumBlocks=500 -SimulationGenesis= -SimulationVerbose=false -SimulationCommit=true -SimulationSeed=53755686 -SimulationPeriod=50 -v -timeout 24h -SimulationBlockSize=2000
will produce the error:
Version
For Admin Use
The text was updated successfully, but these errors were encountered: