Checking the input parameters of the newEscrow function inside the factory contract sooner would save gas, if the function is called with invalid parameters.
The parameters passed to the newEscrow function inside the factory are not checked for validity, inside the function itself, but later inside the constructor of the escrow contract. This can lead to a waste of gas on invalid inputs.
An unnecessary amount of gas is lost on an invalid function call.
Manual Review, Foundry, VSCode
Check the parameters inside the newEscrow function.
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.