Fix build errors in exchange package contracts
This commit is contained in:
		@@ -246,7 +246,7 @@ contract MixinExchangeCore is
 | 
			
		||||
        _assertValidCancel(order, orderInfo);
 | 
			
		||||
 | 
			
		||||
        // Noop if order is already unfillable
 | 
			
		||||
        if (orderInfo.orderStatus != uint8(OrderStatus.FILLABLE)) {
 | 
			
		||||
        if (orderInfo.orderStatus != uint8(LibOrder.OrderStatus.FILLABLE)) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,7 @@
 | 
			
		||||
pragma solidity ^0.5.5;
 | 
			
		||||
pragma experimental ABIEncoderV2;
 | 
			
		||||
 | 
			
		||||
import "@0x/contracts-exchange-libs/contracts/src/LibOrder.sol";
 | 
			
		||||
import "../src/Exchange.sol";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -71,7 +72,7 @@ contract IsolatedExchange is
 | 
			
		||||
    /// @dev Overriden to simplify signature validation.
 | 
			
		||||
    ///      Unfortunately, this is `view`, so it can't log arguments.
 | 
			
		||||
    function _isValidOrderWithHashSignature(
 | 
			
		||||
        Order memory order,
 | 
			
		||||
        LibOrder.Order memory order,
 | 
			
		||||
        bytes32 orderHash,
 | 
			
		||||
        bytes memory signature
 | 
			
		||||
    )
 | 
			
		||||
 
 | 
			
		||||
@@ -44,7 +44,7 @@ contract TestExchangeInternals is
 | 
			
		||||
    /// @dev Call `_updateFilledState()` but first set `filled[order]` to
 | 
			
		||||
    ///      `orderTakerAssetFilledAmount`.
 | 
			
		||||
    function testUpdateFilledState(
 | 
			
		||||
        Order memory order,
 | 
			
		||||
        LibOrder.Order memory order,
 | 
			
		||||
        address takerAddress,
 | 
			
		||||
        bytes32 orderHash,
 | 
			
		||||
        uint256 orderTakerAssetFilledAmount,
 | 
			
		||||
@@ -52,7 +52,7 @@ contract TestExchangeInternals is
 | 
			
		||||
    )
 | 
			
		||||
        public
 | 
			
		||||
    {
 | 
			
		||||
        filled[getOrderHash(order)] = orderTakerAssetFilledAmount;
 | 
			
		||||
        filled[LibOrder.getOrderHash(order, EIP712_EXCHANGE_DOMAIN_HASH)] = orderTakerAssetFilledAmount;
 | 
			
		||||
        _updateFilledState(
 | 
			
		||||
            order,
 | 
			
		||||
            takerAddress,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user