From 5db5b8c8c7a001c4306296aa51caf948be8d9251 Mon Sep 17 00:00:00 2001 From: pullmerge Date: Sun, 14 Apr 2024 11:19:18 +0800 Subject: [PATCH] Fix some comments Signed-off-by: pullmerge --- contracts/helpers/order-validator/SeaportValidator.sol | 2 +- .../helpers/order-validator/lib/SeaportValidatorHelper.sol | 2 +- .../helpers/order-validator/lib/SeaportValidatorInterface.sol | 2 +- reference/lib/ReferenceAssertions.sol | 2 +- test/foundry/new/helpers/FuzzMutations.sol | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/helpers/order-validator/SeaportValidator.sol b/contracts/helpers/order-validator/SeaportValidator.sol index d0f57c310..e1a469e7f 100644 --- a/contracts/helpers/order-validator/SeaportValidator.sol +++ b/contracts/helpers/order-validator/SeaportValidator.sol @@ -1103,7 +1103,7 @@ contract SeaportValidator is } /** - * @notice Creates a merkle proof for the the targetIndex contained in includedTokens. + * @notice Creates a merkle proof for the targetIndex contained in includedTokens. * @dev `targetIndex` is referring to the index of an element in `includedTokens`. * `includedTokens` must be sorting in ascending order according to the keccak256 hash of the value. * @return merkleProof The merkle proof diff --git a/contracts/helpers/order-validator/lib/SeaportValidatorHelper.sol b/contracts/helpers/order-validator/lib/SeaportValidatorHelper.sol index 2ea2fa58c..05aec9ebc 100644 --- a/contracts/helpers/order-validator/lib/SeaportValidatorHelper.sol +++ b/contracts/helpers/order-validator/lib/SeaportValidatorHelper.sol @@ -902,7 +902,7 @@ contract SeaportValidatorHelper is Murky { } /** - * @notice Creates a merkle proof for the the targetIndex contained in includedTokens. + * @notice Creates a merkle proof for the targetIndex contained in includedTokens. * @dev `targetIndex` is referring to the index of an element in `includedTokens`. * `includedTokens` must be sorting in ascending order according to the keccak256 hash of the value. * @return merkleProof The merkle proof diff --git a/contracts/helpers/order-validator/lib/SeaportValidatorInterface.sol b/contracts/helpers/order-validator/lib/SeaportValidatorInterface.sol index 3d0abd321..3cd8c90e6 100644 --- a/contracts/helpers/order-validator/lib/SeaportValidatorInterface.sol +++ b/contracts/helpers/order-validator/lib/SeaportValidatorInterface.sol @@ -264,7 +264,7 @@ interface SeaportValidatorInterface { ); /** - * @notice Creates a merkle proof for the the targetIndex contained in includedTokens. + * @notice Creates a merkle proof for the targetIndex contained in includedTokens. * @dev `targetIndex` is referring to the index of an element in `includedTokens`. * `includedTokens` must be sorting in ascending order according to the keccak256 hash of the value. * @return merkleProof The merkle proof diff --git a/reference/lib/ReferenceAssertions.sol b/reference/lib/ReferenceAssertions.sol index d87810842..b83c59eda 100644 --- a/reference/lib/ReferenceAssertions.sol +++ b/reference/lib/ReferenceAssertions.sol @@ -37,7 +37,7 @@ contract ReferenceAssertions is ) ReferenceGettersAndDerivers(conduitController) {} /** - * @dev Internal view function to to ensure that the supplied consideration + * @dev Internal view function to ensure that the supplied consideration * array length on a given set of order parameters is not less than the * original consideration array length for that order and to retrieve * the current counter for a given order's offerer and zone and use it diff --git a/test/foundry/new/helpers/FuzzMutations.sol b/test/foundry/new/helpers/FuzzMutations.sol index def2e2f85..c58e6681f 100644 --- a/test/foundry/new/helpers/FuzzMutations.sol +++ b/test/foundry/new/helpers/FuzzMutations.sol @@ -3060,7 +3060,7 @@ contract FuzzMutations is Test, FuzzExecutor { // This mutation triggers a revert by modifying the first proof element // in a criteria resolver's proof array. Seaport will reject a criteria - // resolver if the the identifiers, criteria, and proof do not + // resolver if the identifiers, criteria, and proof do not // harmonize. bytes32 firstProofElement = resolver.criteriaProof[0];