Skip to content

Commit

Permalink
πŸ‘·πŸ»β€β™‚οΈ Update nonce type in library
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredBorders committed Oct 25, 2023
1 parent 6c07465 commit 1ae6ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/ConditionalOrderHashLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ library ConditionalOrderHashLib {

/// @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)"
);

/// @notice hash the OrderDetails struct
Expand Down

0 comments on commit 1ae6ad9

Please sign in to comment.