Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vimageDE committed Feb 28, 2025
1 parent eab3c92 commit e6d9d04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/ERC7683Allocator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,10 @@ contract ERC7683Allocator_resolve is OnChainCrossChainOrderData {

contract ERC7683Allocator_getCompactWitnessTypeString is MocksSetup {
function test_getCompactWitnessTypeString() public view {
assertEq(erc7683Allocator.getCompactWitnessTypeString(), "Compact(address arbiter,address sponsor,uint256 nonce,uint256 expires,uint256 id,uint256 amount,Mandate mandate)Mandate(uint256 chainId,address tribunal,address recipient,uint256 expires,address token,uint256 minimumAmount,uint256 baselinePriorityFee,uint256 scalingFactor,bytes32 salt))");
assertEq(
erc7683Allocator.getCompactWitnessTypeString(),
'Compact(address arbiter,address sponsor,uint256 nonce,uint256 expires,uint256 id,uint256 amount,Mandate mandate)Mandate(uint256 chainId,address tribunal,address recipient,uint256 expires,address token,uint256 minimumAmount,uint256 baselinePriorityFee,uint256 scalingFactor,bytes32 salt))'
);
}
}

Expand Down Expand Up @@ -965,7 +968,6 @@ contract ERC7683Allocator_checkNonce is OnChainCrossChainOrderData, CreateHash {
vm.prank(user);
erc7683Allocator.open(onChainCrossChainOrder_);


vm.prank(user);
vm.assertEq(erc7683Allocator.checkNonce(user, defaultNonce), false);
}
Expand Down

0 comments on commit e6d9d04

Please sign in to comment.