enterRaffle()
stores entries in an array then searches linearly through them to find duplicates.
This kind of pairwise comparison search for duplicates has quadratic complexity and is one of the most
expensive way of searching as it increases exponentially with entries.
Gas costs will be very high.
Foundry
Use a hash-table to store entries. A hash-table can efficiently ensure no duplicates are stored.
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.