At the end of the MAIN macro in HorseStore.huff, there is an unused line: MINT_HORSE(). In future updates, if a function is added right above this line and does not return, revert, or stop, it could inadvertently call MINT_HORSE, leading to protocol errors. Additionally, this line results in unnecessary gas consumption during bytecode deployment.
Gas consumption.
Potential future errors if a function added above doesn't revert, return, or stop.
Remove the unused line to prevent potential future errors and reduce unnecessary gas consumption.
Any call data sent to the contract that doesn't contain a function selector will randomly mint a horse.
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.