diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-04 03:47:19 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-04 04:04:47 +0800 |
commit | 4f381ca1d9b6f8ecc232d0481d86f8ba695f7601 (patch) | |
tree | d39c5aec7bc28e782689046d2f0f44539f2f4d04 /packages/contract-wrappers | |
parent | 82092ab50a73e15e167f387380cd75ac52581e88 (diff) | |
download | dexon-sol-tools-4f381ca1d9b6f8ecc232d0481d86f8ba695f7601.tar dexon-sol-tools-4f381ca1d9b6f8ecc232d0481d86f8ba695f7601.tar.gz dexon-sol-tools-4f381ca1d9b6f8ecc232d0481d86f8ba695f7601.tar.bz2 dexon-sol-tools-4f381ca1d9b6f8ecc232d0481d86f8ba695f7601.tar.lz dexon-sol-tools-4f381ca1d9b6f8ecc232d0481d86f8ba695f7601.tar.xz dexon-sol-tools-4f381ca1d9b6f8ecc232d0481d86f8ba695f7601.tar.zst dexon-sol-tools-4f381ca1d9b6f8ecc232d0481d86f8ba695f7601.zip |
Update orderFactory interface
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r-- | packages/contract-wrappers/test/calldata_optimization_utils_test.ts | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/contract-wrappers/test/calldata_optimization_utils_test.ts b/packages/contract-wrappers/test/calldata_optimization_utils_test.ts index 107d913ba..a4cea772f 100644 --- a/packages/contract-wrappers/test/calldata_optimization_utils_test.ts +++ b/packages/contract-wrappers/test/calldata_optimization_utils_test.ts @@ -3,12 +3,11 @@ import * as chai from 'chai'; import * as _ from 'lodash'; import 'mocha'; -import { constants } from '../src/utils/constants'; +import { assert } from '../src/utils/assert'; import { calldataOptimizationUtils } from '../src/utils/calldata_optimization_utils'; +import { constants } from '../src/utils/constants'; import { chaiSetup } from './utils/chai_setup'; -import { assert } from '../src/utils/assert'; -import { NULL_BYTES } from '@0xproject/utils'; chaiSetup.configure(); const expect = chai.expect; @@ -20,16 +19,11 @@ const generateFakeOrders = (makerAssetData: string, takerAssetData: string) => _.map(_.range(FAKE_ORDERS_COUNT), index => { const order = orderFactory.createOrder( constants.NULL_ADDRESS, - constants.NULL_ADDRESS, - constants.NULL_ADDRESS, - constants.ZERO_AMOUNT, - constants.ZERO_AMOUNT, constants.ZERO_AMOUNT, makerAssetData, constants.ZERO_AMOUNT, takerAssetData, constants.NULL_ADDRESS, - constants.NULL_ADDRESS, ); return { ...order, |