From a32278da5ba5aaa50ee00cf88eb82ef23353ef2c Mon Sep 17 00:00:00 2001 From: Zach Kolodny Date: Mon, 3 Jun 2024 23:41:27 -0400 Subject: [PATCH] add solhint ignores --- l2-contracts/contracts/bridge/L2StandardERC20.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/l2-contracts/contracts/bridge/L2StandardERC20.sol b/l2-contracts/contracts/bridge/L2StandardERC20.sol index 1c1890772..5248059bf 100644 --- a/l2-contracts/contracts/bridge/L2StandardERC20.sol +++ b/l2-contracts/contracts/bridge/L2StandardERC20.sol @@ -167,18 +167,21 @@ contract L2StandardERC20 is ERC20PermitUpgradeable, IL2StandardToken, ERC1967Upg function name() public view override returns (string memory) { // If method is not available, behave like a token that does not implement this method - revert on call. + // solhint-disable-next-line reason-string, gas-custom-errors if (availableGetters.ignoreName) revert(); return super.name(); } function symbol() public view override returns (string memory) { // If method is not available, behave like a token that does not implement this method - revert on call. + // solhint-disable-next-line reason-string, gas-custom-errors if (availableGetters.ignoreSymbol) revert(); return super.symbol(); } function decimals() public view override returns (uint8) { // If method is not available, behave like a token that does not implement this method - revert on call. + // solhint-disable-next-line reason-string, gas-custom-errors if (availableGetters.ignoreDecimals) revert(); return decimals_; }