Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi this is my solution
I created the following function to let anyone switch the winner of the election.
function switchWinner(address newWinner) external { require (points(newWinner)>=points(_winner)); _winner = newWinner; }
Runs are...
Missing rule passes in the original
https://prover.certora.com/output/789757/b30ccb57518948f2ad38235950696af3/?anonymousKey=6d492176f7ea351cc4837225c06f23326c3f7af6
Missing rule catches the bug in buggy file.
https://prover.certora.com/output/789757/a81e37c6576b47648ffabb9f063c6eae/?anonymousKey=787bf75ee50047629edb73590e0e70417f152e4d
Original Rule passes the buggy file
https://prover.certora.com/output/789757/28a5f6f2c41c4783a7ff23a4715160e5/?anonymousKey=4227fc8328299e06e0658e930fa2329e27db1604