diff --git a/test/integration/MerkleStorageInvalidator.t.sol b/test/integration/MerkleStorageInvalidator.t.sol index 32ad61d..3f22eeb 100644 --- a/test/integration/MerkleStorageInvalidator.t.sol +++ b/test/integration/MerkleStorageInvalidator.t.sol @@ -24,7 +24,6 @@ contract MerkleStorageInvalidatorIntTest is BaseSetup { BaseSetup.setUp(); for (uint256 i = 0; i < SECRETS_AMOUNT; i++) { - // Note: This is not production-ready code. Use cryptographically secure random to generate secrets. hashedSecrets[i] = keccak256(abi.encodePacked(i)); hashedPairs[i] = keccak256(abi.encodePacked(i, hashedSecrets[i])); } diff --git a/test/unit/EscrowFactory.t.sol b/test/unit/EscrowFactory.t.sol index 29e7af8..5028e2b 100644 --- a/test/unit/EscrowFactory.t.sol +++ b/test/unit/EscrowFactory.t.sol @@ -25,7 +25,6 @@ contract EscrowFactoryTest is BaseSetup { function setUp() public virtual override { BaseSetup.setUp(); - // Note: This is not production-ready code. Use cryptographically secure random to generate secrets. for (uint256 i = 0; i < SECRETS_AMOUNT; i++) { hashedSecrets[i] = keccak256(abi.encodePacked(i)); hashedPairs[i] = keccak256(abi.encodePacked(i, hashedSecrets[i])); diff --git a/test/unit/MerkleStorageInvalidator.t.sol b/test/unit/MerkleStorageInvalidator.t.sol index 03373ec..93293ca 100644 --- a/test/unit/MerkleStorageInvalidator.t.sol +++ b/test/unit/MerkleStorageInvalidator.t.sol @@ -27,7 +27,6 @@ contract MerkleStorageInvalidatorTest is BaseSetup { bytes32[] memory hashedSecrets = new bytes32[](secretsAmount); bytes32[] memory hashedPairs = new bytes32[](secretsAmount); - // Note: This is not production-ready code. Use cryptographically secure random to generate secrets. for (uint256 i = 0; i < secretsAmount; i++) { hashedSecrets[i] = keccak256(abi.encodePacked(i)); hashedPairs[i] = keccak256(abi.encodePacked(i, hashedSecrets[i])); @@ -63,7 +62,6 @@ contract MerkleStorageInvalidatorTest is BaseSetup { bytes32[] memory hashedSecrets = new bytes32[](secretsAmount); bytes32[] memory hashedPairs = new bytes32[](secretsAmount); - // Note: This is not production-ready code. Use cryptographically secure random to generate secrets. for (uint256 i = 0; i < secretsAmount; i++) { hashedSecrets[i] = keccak256(abi.encodePacked(i)); hashedPairs[i] = keccak256(abi.encodePacked(i, hashedSecrets[i]));