From 05205ab2e1bf47f91cfce2970062e2f4204ece9a Mon Sep 17 00:00:00 2001 From: Trevor Johnson <27569194+trevorgjohnson@users.noreply.github.com> Date: Thu, 14 Sep 2023 11:49:04 -0500 Subject: [PATCH] Remove deprecated 'ERC20FailedDecreaseAllowance' error (#4604) Co-authored-by: Hadrien Croubois --- contracts/token/ERC20/ERC20.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/contracts/token/ERC20/ERC20.sol b/contracts/token/ERC20/ERC20.sol index 0ca686a95..38a4cfa8f 100644 --- a/contracts/token/ERC20/ERC20.sol +++ b/contracts/token/ERC20/ERC20.sol @@ -41,11 +41,6 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { string private _name; string private _symbol; - /** - * @dev Indicates a failed `decreaseAllowance` request. - */ - error ERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); - /** * @dev Sets the values for {name} and {symbol}. *