Skip to content

Commit

Permalink
Edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Jan 31, 2025
1 parent dc576fa commit 4c382ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/EIP712.sol
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ abstract contract EIP712 {
}

/// @dev Variant of `_hashTypedData` that excludes the chain ID.
/// We expect that most contracts will use `_hashTypedData` for the majority of hashes,
/// and use `_hashTypedDataSansChainId` for special cases such as cross-chain operations.
/// We expect that most contracts will use `_hashTypedData` as the main hash,
/// and `_hashTypedDataSansChainId` only occasionally for cross-chain workflows.
/// Thus this is optimized for smaller bytecode size over runtime gas.
function _hashTypedDataSansChainId(bytes32 structHash)
internal
Expand Down

0 comments on commit 4c382ce

Please sign in to comment.