-
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
Random Fuzzer panic: calculated final stake greater than current stake (on f0b690ba6e2) #4383
Comments
Thanks @npinto! So this was reproduced with a modified parameter? I'm not sure if this is benign or note. This is an off-by-one rounding error again as we've seen many times and I'm sure sure that we've fixed. /cc @rigelrozanski |
Cool I'm looking into it right now Some updates: Alternative command for post-gaia remove This bug starts at commit |
thanks, exactly my point! also see: where "This is an off-by-one rounding error" isn't true. HTH |
The invariance is off by one, is it not? |
No, not here: #4367 (comment)
|
@npinto seed 99516184 seems to pass now - Is there any reproducible "more-than-one" seeds on this branch? (the branch which fails with seed 8090485) |
@rigelrozanski you can reproduce this bug with seed
|
Do you think we could find a way to pass an exact (or partial) parameter set to the sim (e.g. via json file from the cli)? It would then be easier to reproduce (and explore) bugs like these. |
So we already have a way to simulate from a genesis file (where a custom parameter set could be defined) checkout this make command: Lines 88 to 92 in 7521446
Is there a |
Great! I'll try that route. What's your recommended way to export a genesis state as a json file during a given |
We should probably add a flag to do exactly this on an existing simulation, checkout how |
Am I missing something? |
it creates the genesis app state here #4389 but it doesn't export it to a file |
Summary of Bug
Version
Steps to Reproduce
$ go test ./cmd/gaia/app -run TestFullGaiaSimulation -SimulationEnabled=true -SimulationNumBlocks=500 -SimulationGenesis= -SimulationVerbose=true -SimulationCommit=true -SimulationSeed=8090485 -SimulationPeriod=50 -v -timeout 24h
Fails with:
Full log:
8090485.log
HTH!
Best,
Nico
For Admin Use
The text was updated successfully, but these errors were encountered: