diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 19:22:22 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 19:22:22 +0800 |
commit | fd004032cb23998184a78ac4a0a486ef1bd04c25 (patch) | |
tree | 90f7e64996ccc0fee1e5428b2ced9b2c2b1c3d4a /packages/contracts/test/exchange/wrapper.ts | |
parent | 4b6324050da4862f4d8bdb7d6dbd66107929a2b5 (diff) | |
download | dexon-sol-tools-fd004032cb23998184a78ac4a0a486ef1bd04c25.tar.gz dexon-sol-tools-fd004032cb23998184a78ac4a0a486ef1bd04c25.tar.zst dexon-sol-tools-fd004032cb23998184a78ac4a0a486ef1bd04c25.zip |
Introduce SignedOrder class and remove type assertions
Diffstat (limited to 'packages/contracts/test/exchange/wrapper.ts')
-rw-r--r-- | packages/contracts/test/exchange/wrapper.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts index b1851a55c..02d722ed5 100644 --- a/packages/contracts/test/exchange/wrapper.ts +++ b/packages/contracts/test/exchange/wrapper.ts @@ -15,6 +15,7 @@ import { constants } from '../../util/constants'; import { ExchangeWrapper } from '../../util/exchange_wrapper'; import { Order } from '../../util/order'; import { OrderFactory } from '../../util/order_factory'; +import { SignedOrder } from '../../util/signed_order'; import { BalancesByOwner, ContractName } from '../../util/types'; import { chaiSetup } from '../utils/chai_setup'; import { deployer } from '../utils/deployer'; @@ -173,7 +174,7 @@ describe('Exchange', () => { }); describe('batch functions', () => { - let orders: Order[]; + let orders: SignedOrder[]; beforeEach(async () => { orders = await Promise.all([ orderFactory.newSignedOrderAsync(), |