Open arrivets opened 4 years ago
Recompiling the master contract with solc version 0.5.11 I cannot reproduce thus behaviour. The generated bytecode.go file does have differences in the generated bytecode. I will investigate further, but if the contract can be shown to be working with a more current compiler version, I would be minded to set the pragma in solidity to the working version or higher.
Creating duplicate nominees is no longer possible but there is another problem.
A whitelist member cannot vote for the same nominee in different ballots.
Ex: Alice is a nominee Bob votes for her ( yes or no, doesn't matter) Alice's application is rejected ( someone voted no ) - she gets ejected from the nominee list Alice gets nominated again Bob tries to vote for her again ----> BREAKS
Fixed in 4cd2afd8a36bb9de3dbf914ab5e9394600542f52 in develop. Will be promoted to master in the release later today.
It is possible to nominate the same address twice, which messes things up. The same is probably true of evictees as well.