When someone is selected as Ram in ChoosingRam::increaseValuesOfParticipants, isRamSelected is not set to true.
It leads to an infinite battle, anyone can take the place of the previous Ram. Only the organisater will be able to stop the fight with the function selectRamIfNotSelected. It will be unfair for the first Ram, and several people will have the 5 values.
Likelyhood: High
Any person can call increaseValuesOfParticipants once selectedRam is set.
Impact: High
Break the protocol logic: several people will have the 5 values and only the last one who called the function will be the selected Ram.
Set the boolean to true when selectedRam is set or only check if selectedRam is address(0) in the RamIsNotSelected modifier.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.