diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-30 05:34:46 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-06-30 07:25:16 +0800 |
commit | d4852092b84936a7c2db207899321ad2a1955e64 (patch) | |
tree | b693ee17fce41377eb0e18e24f054b9845ef0588 /packages/contracts/test/exchange/transactions.ts | |
parent | 622ce0bf2ee348cd8640cd589962bd88a6d632fb (diff) | |
download | dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.tar.gz dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.tar.zst dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.zip |
Make registerAssetProxy append only
Diffstat (limited to 'packages/contracts/test/exchange/transactions.ts')
-rw-r--r-- | packages/contracts/test/exchange/transactions.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/exchange/transactions.ts b/packages/contracts/test/exchange/transactions.ts index c4de58bb9..23441e7f8 100644 --- a/packages/contracts/test/exchange/transactions.ts +++ b/packages/contracts/test/exchange/transactions.ts @@ -1,6 +1,6 @@ import { BlockchainLifecycle } from '@0xproject/dev-utils'; import { assetProxyUtils, generatePseudoRandomSalt } from '@0xproject/order-utils'; -import { AssetProxyId, OrderWithoutExchangeAddress, RevertReason, SignedOrder } from '@0xproject/types'; +import { OrderWithoutExchangeAddress, RevertReason, SignedOrder } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; import * as _ from 'lodash'; @@ -91,7 +91,7 @@ describe('Exchange transactions', () => { assetProxyUtils.encodeERC20AssetData(zrxToken.address), ); exchangeWrapper = new ExchangeWrapper(exchange, provider); - await exchangeWrapper.registerAssetProxyAsync(AssetProxyId.ERC20, erc20Proxy.address, owner); + await exchangeWrapper.registerAssetProxyAsync(erc20Proxy.address, owner); await web3Wrapper.awaitTransactionSuccessAsync( await erc20Proxy.addAuthorizedAddress.sendTransactionAsync(exchange.address, { from: owner }), |