From 2377bf88aed287fde7b9ae9241ce1badf8a2fe12 Mon Sep 17 00:00:00 2001 From: dmfxyz Date: Sat, 30 Mar 2024 17:32:18 -0400 Subject: [PATCH] cleanup test imports and add some missing license headers --- lib/forge-std | 2 +- lib/openzeppelin-contracts | 2 +- src/test/CompleteMerkle.t.sol | 8 ++------ src/test/Merkle.t.sol | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/forge-std b/lib/forge-std index bb4ceea..e4aef94 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit bb4ceea94d6f10eeb5b41dc2391c6c8bf8e734ef +Subproject commit e4aef94c1768803a16fe19f7ce8b65defd027cfd diff --git a/lib/openzeppelin-contracts b/lib/openzeppelin-contracts index 9558e54..cb2aaaa 160000 --- a/lib/openzeppelin-contracts +++ b/lib/openzeppelin-contracts @@ -1 +1 @@ -Subproject commit 9558e546d9996d533eeb5151569a52d611eca08b +Subproject commit cb2aaaa04a292887c49839cd958b08a83979d746 diff --git a/src/test/CompleteMerkle.t.sol b/src/test/CompleteMerkle.t.sol index 50ac99f..0c3fe1f 100644 --- a/src/test/CompleteMerkle.t.sol +++ b/src/test/CompleteMerkle.t.sol @@ -1,16 +1,12 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; -import "../Merkle.sol"; import "../CompleteMerkle.sol"; import "forge-std/Test.sol"; import "openzeppelin-contracts/contracts/utils/cryptography/MerkleProof.sol"; -import "openzeppelin-contracts/contracts/utils/Strings.sol"; -import "forge-std/console.sol"; -contract GasComparisonTests is Test { +contract CompleteMerkleTest is Test { CompleteMerkle m; - Merkle GAS_COMP_MERKLE; function setUp() public { m = new CompleteMerkle(); diff --git a/src/test/Merkle.t.sol b/src/test/Merkle.t.sol index 08fb0c7..ff3594b 100644 --- a/src/test/Merkle.t.sol +++ b/src/test/Merkle.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "../Merkle.sol";