From 352d831e1d10344edcf7841b78cd412a50b004d6 Mon Sep 17 00:00:00 2001 From: katzman Date: Wed, 20 Mar 2024 15:33:07 -0700 Subject: [PATCH] Format --- test/GetHash.t.sol | 8 +------- test/IsValidWithdrawSignature.t.sol | 2 -- 2 files changed, 1 insertion(+), 9 deletions(-) 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); } } -