diff --git a/test/GetHash.t.sol b/test/GetHash.t.sol index 0c57a35..bd4c799 100644 --- a/test/GetHash.t.sol +++ b/test/GetHash.t.sol @@ -14,13 +14,7 @@ contract GetHashTest is MagicSpendTest { MagicSpend.WithdrawRequest memory request = _getRequest(); bytes32 expectedHash = SignatureCheckerLib.toEthSignedMessageHash( abi.encode( - address(magic), - withdrawer, - block.chainid, - address(token), - request.amount, - request.nonce, - request.expiry + address(magic), withdrawer, block.chainid, address(token), request.amount, request.nonce, request.expiry ) ); bytes32 testHash = magic.getHash(withdrawer, request); diff --git a/test/IsValidWithdrawSignature.t.sol b/test/IsValidWithdrawSignature.t.sol index 2e3113e..92628c1 100644 --- a/test/IsValidWithdrawSignature.t.sol +++ b/test/IsValidWithdrawSignature.t.sol @@ -2,7 +2,6 @@ pragma solidity >=0.8.21; import "./MagicSpend.t.sol"; -import "./Validate.t.sol"; import {MockERC20} from "solady/test/utils/mocks/MockERC20.sol"; contract IsValidWithdrawalSignature is MagicSpendTest { @@ -23,4 +22,3 @@ contract IsValidWithdrawalSignature is MagicSpendTest { assertFalse(success); } } -