Skip to content

Commit

Permalink
✅ Update nonce type in test util
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredBorders committed Oct 25, 2023
1 parent 1ae6ad9 commit 6b9cecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/ConditionalOrderSignature.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ contract ConditionalOrderSignature {

/// @notice pre-computed keccak256(ConditionalOrder struct)
bytes32 public constant _CONDITIONAL_ORDER_TYPEHASH = keccak256(
"ConditionalOrder(OrderDetails orderDetails,address signer,uint128 nonce,bool requireVerified,address trustedExecutor,uint256 maxExecutorFee,bytes[] conditions)OrderDetails(uint128 marketId,uint128 accountId,int128 sizeDelta,uint128 settlementStrategyId,uint256 acceptablePrice,bool isReduceOnly,bytes32 trackingCode,address referrer)"
"ConditionalOrder(OrderDetails orderDetails,address signer,uint256 nonce,bool requireVerified,address trustedExecutor,uint256 maxExecutorFee,bytes[] conditions)OrderDetails(uint128 marketId,uint128 accountId,int128 sizeDelta,uint128 settlementStrategyId,uint256 acceptablePrice,bool isReduceOnly,bytes32 trackingCode,address referrer)"
);

function getConditionalOrderSignatureRaw(
Expand Down

0 comments on commit 6b9cecf

Please sign in to comment.