From 48bd2864c6c696bf424ee0e2195f2d72ddd1a86c Mon Sep 17 00:00:00 2001 From: Gonzalo Othacehe <86085168+gonzaotc@users.noreply.github.com> Date: Fri, 16 May 2025 12:37:07 -0300 Subject: [PATCH] Updated `SignatureChecker` NatSpec to better reflect EIP-7702 behavior (#5670) --- contracts/utils/cryptography/SignatureChecker.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/utils/cryptography/SignatureChecker.sol b/contracts/utils/cryptography/SignatureChecker.sol index 554f00d89..c326222d5 100644 --- a/contracts/utils/cryptography/SignatureChecker.sol +++ b/contracts/utils/cryptography/SignatureChecker.sol @@ -13,8 +13,8 @@ import {IERC1271} from "../../interfaces/IERC1271.sol"; */ library SignatureChecker { /** - * @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the - * signature is validated against that smart contract using ERC-1271, otherwise it's validated using `ECDSA.recover`. + * @dev Checks if a signature is valid for a given signer and data hash. If the signer has code, the + * signature is validated against it using ERC-1271, otherwise it's validated using `ECDSA.recover`. * * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus * change through time. It could return true at block N and false at block N+1 (or the opposite).