40,000 USDC
View results
Submission Details
Severity: gas

Custom error has no error details

Summary

Custom error has no error details

Vulnerability Details

Consider adding parameters to the error to indicate which user or values caused the failure

File: /src/IEscrow.sol
9: error Escrow__OnlyBuyer();
10: error Escrow__OnlyBuyerOrSeller();
11: error Escrow__OnlyArbiter();
13: error Escrow__MustDeployWithTokenBalance();
15: error Escrow__DisputeRequiresArbiter();
16: error Escrow__TokenZeroAddress();
17: error Escrow__BuyerZeroAddress();
18: error Escrow__SellerZeroAddress();

Link to code

File: /src/IEscrowFactory.sol
8: error EscrowFactory__AddressesDiffer();

Link to code

Impact

Informational

Tools Used

Manual

Recommendations

add error message

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.