Errors cleanup

This commit is contained in:
PedroCailleret
2023-05-08 16:17:32 -03:00
parent a0e39bafab
commit 6a3bea432c
19 changed files with 13 additions and 37 deletions

View File

@@ -54,9 +54,6 @@ interface EventAndErrors {
/// ███ Errors ████████████████████████████████████████████████████████████
/// @dev Deposit already exist and it is still valid.
/// @dev 0xc44bd765
error DepositAlreadyExists();
/// @dev Only seller could call this function.
/// @dev `msg.sender` and the seller differ.
/// @dev 0x85d1f726
@@ -105,7 +102,6 @@ interface EventAndErrors {
/// @dev Reverts on an expired lock.
/// @dev 0xf6fafba0
error LockExpired();
/// @dev 0xce3a3d37
error DecOverflow();
/// @dev 0xf3fb0eb9

View File

@@ -654,6 +654,7 @@ contract P2PIX is
_spendLimit := returnValue
// reverts if call does not succeed.
if iszero(success) {
// StaticCallFailed()
mstore(0x00, 0xe10bf1cc)
revert(0x1c, 0x04)
}