In Escrow.sol, it is cheaper to inline computeEscrowAddress
than to reference it in a function. The function is pure, therefore it can be calculated off-chain for testing or UI purposes. This will decrease costs across the board.
About 100 gas can be saved in each deployment.
Foundry
Remove the computeEscrowAddress
function. It is not defined within IEscrow.sol
.
This will make two tests unusable, but the address can be calculated off-chain.
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.