-
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
Randomized Fuzzer: cliff validator has not been changed, yet we bonded a new validator #2289
Comments
Replicable with |
This one also fails fairly early on (may reduce amount of logs that have to be dug through):
(Fails on block 42) |
Will take a look at this now while I wait for updates on #2305. |
I believe I've discovered the problem that is causing this panic. Jotting down initial brain dump here... In a single block context and given the lowest three validators by power in the set: C (104), B (105), and A (106), a series of txs occur:
This is causing the following to execute.
Again @cwgoes, setting the Once I resolve this and v0.25 is released, I'd like to focus on #2312. |
fascinating - makes sense |
Update: Looks like the issue I described above is not the culprit. In a given block context, a series of txs occur that cause the bottom two validators in the set to have the same power (B & C). B gets bonded/enters set and A gets removed. However, A should not actually get removed because it's still in the top Pastebin: https://pastebin.com/64hMim3b I've been trying to debug this for quite some time now, so it's very possible I'm missing something super obvious. In any case, I can't see a clear fix here. Maybe we should punt this in favor of #2312? |
100% agree, I vote to punt and do #2312 |
Closing in favor of #2312. |
Summary
This is achieved by commenting out
"// govsim.SimulateMsgDeposit(app.govKeeper, app.stakeKeeper),"
, and then running:(This was ran on #2285), the error occurs on block 203. The logs for this one are 21mb, so that will be a pain to parse through (They're now saved at least :D)
This one can also be replicated on
Seed=4
in case that helps debugging/cc @cwgoes @rigelrozanski @alexanderbez
The text was updated successfully, but these errors were encountered: