If HorseStore.huff
gets called with a function which doesn't match any of the declared function signatures it will not revert but instead call the GET_TOTAL_SUPPLY
function, since it is the first defined function.
The code does not revert as expected and returns a value.
The following test
passes for HorseStore.huff
, given that the blabla
function is defined in the caller interface.
Revert the MAIN
function if the called function did not match any of the declared function signatures.
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.