This repository was archived by the owner on Aug 19, 2024. It is now read-only.
This repository was archived by the owner on Aug 19, 2024. It is now read-only.
Closed
Description
Describe the bug
The problem is that the size of council is decreased right after adding a validator.
> governance.vote("governance.addvalidator", "0x36ff2aa21d5c6828ee12cd2bc3de0e987bc0d4e7")
"Your vote was successfully placed."
> klay.getCouncilSize()
29
> klay.getCouncilSize()
30
> klay.getCouncilSize()
29
How to reproduce
- Vote
removevalidator
with an address which is not added to validators yet - Vote
addvalidator
which is tried to remove in previous step
Expected behavior
I think it should prohibit from removing a validator which is not yet added.
Additional context
Another comment is that a vote should have timeout, but now it is not.
Metadata
Metadata
Assignees
Labels
No labels