Skip to content

Commit

Permalink
natspec for delegatecall error
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Aug 3, 2024
1 parent 2c61e65 commit e553340
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/base/EIP712.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {IEIP712} from "../interfaces/IEIP712.sol";

/// @notice Generic EIP712 implementation
/// @dev Maintains cross-chain replay protection in the event of a fork
/// @dev Should not be delegatecall'd because DOMAIN_SEPARATOR returns the cached hash and does not recompute with the delegatecallers address
/// @dev Reference: https://github.com/Uniswap/permit2/blob/main/src/EIP712.sol
/// @dev Reference: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/EIP712.sol
contract EIP712 is IEIP712 {
Expand Down

0 comments on commit e553340

Please sign in to comment.