Open redref opened 1 month ago
Can you describe a bug that you're trying to fix?
Can you describe a bug that you're trying to fix?
Sure. FTR, this was in testnet.
Next election, as temporary validation key is present on validator, election send (pool balance) to elector, but behavior should be the same as the first election
This check temporary key is in active period and we are not an active validator to check validator was not elected, which avoids a different behavior. We could argue it gives better chance to be elected in second iteration, but in my POV, if we want to solve this issue, it would be best solved otherwise.
For testnet, I had to fix GetValidatorsList() which does not work properly (checkloadall returns nothing or raise an error, but I think that's expected).
Any news ?
Not tested in mainnet yes, but if you can confirm this a right solution, I could.