From 871ad335a111e88f5acf13aaf928a75d0b410c27 Mon Sep 17 00:00:00 2001 From: MathisGD Date: Mon, 4 Nov 2024 00:27:41 +0100 Subject: [PATCH 1/2] docs: fix little inaccuracy in domain separator docs --- src/interfaces/IMorpho.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/IMorpho.sol b/src/interfaces/IMorpho.sol index 87916224..69c89aa0 100644 --- a/src/interfaces/IMorpho.sol +++ b/src/interfaces/IMorpho.sol @@ -50,8 +50,8 @@ struct Signature { /// @dev Consider using the IMorpho interface instead of this one. interface IMorphoBase { /// @notice The EIP-712 domain separator. - /// @dev Warning: Every EIP-712 signed message based on this domain separator can be reused on another chain sharing - /// the same chain id because the domain separator would be the same. + /// @dev Warning: Every EIP-712 signed message based on this domain separator can be reused on forks and chains + /// sharing the same chain id because the domain separator would be the same. function DOMAIN_SEPARATOR() external view returns (bytes32); /// @notice The owner of the contract. From fb814d4c8ce1a6fb4277541281419e415eb2237e Mon Sep 17 00:00:00 2001 From: MathisGD Date: Tue, 5 Nov 2024 11:31:23 +0100 Subject: [PATCH 2/2] docs: minor improvement --- src/interfaces/IMorpho.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/IMorpho.sol b/src/interfaces/IMorpho.sol index 69c89aa0..4684e778 100644 --- a/src/interfaces/IMorpho.sol +++ b/src/interfaces/IMorpho.sol @@ -50,8 +50,8 @@ struct Signature { /// @dev Consider using the IMorpho interface instead of this one. interface IMorphoBase { /// @notice The EIP-712 domain separator. - /// @dev Warning: Every EIP-712 signed message based on this domain separator can be reused on forks and chains - /// sharing the same chain id because the domain separator would be the same. + /// @dev Warning: Every EIP-712 signed message based on this domain separator can be reused on chains sharing the + /// same chain id and on forks because the domain separator would be the same. function DOMAIN_SEPARATOR() external view returns (bytes32); /// @notice The owner of the contract.