Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieraykatz committed Mar 20, 2024
1 parent 294b395 commit 352d831
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 1 addition & 7 deletions test/GetHash.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions test/IsValidWithdrawSignature.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -23,4 +22,3 @@ contract IsValidWithdrawalSignature is MagicSpendTest {
assertFalse(success);
}
}

0 comments on commit 352d831

Please sign in to comment.