aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-18 22:43:25 +0800
committerFabio Berger <me@fabioberger.com>2018-07-18 22:43:25 +0800
commit29d5034260b2e3b4b670d856463ed34377bff3ac (patch)
tree358b3cce6e4b2c4ea4f4c816668635e2aff758f0 /packages/contract-wrappers/test
parentf99232095b3effea261b5b24bc01db4f96c416f6 (diff)
parent00d1622b3f087943e750f1b3f6ee6ceab7e80285 (diff)
downloaddexon-0x-contracts-29d5034260b2e3b4b670d856463ed34377bff3ac.tar
dexon-0x-contracts-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.gz
dexon-0x-contracts-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.bz2
dexon-0x-contracts-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.lz
dexon-0x-contracts-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.xz
dexon-0x-contracts-29d5034260b2e3b4b670d856463ed34377bff3ac.tar.zst
dexon-0x-contracts-29d5034260b2e3b4b670d856463ed34377bff3ac.zip
merge v2-prototype
Diffstat (limited to 'packages/contract-wrappers/test')
-rw-r--r--packages/contract-wrappers/test/exchange_wrapper_test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts
index f43938605..dca212f65 100644
--- a/packages/contract-wrappers/test/exchange_wrapper_test.ts
+++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts
@@ -53,7 +53,6 @@ describe('ExchangeWrapper', () => {
await blockchainLifecycle.startAsync();
contractWrappers = new ContractWrappers(provider, config);
exchangeContractAddress = contractWrappers.exchange.getContractAddress();
- const erc20ProxyAddress = contractWrappers.erc20Proxy.getContractAddress();
userAddresses = await web3Wrapper.getAvailableAddressesAsync();
zrxTokenAddress = tokenUtils.getProtocolTokenAddress();
fillScenarios = new FillScenarios(
@@ -61,7 +60,8 @@ describe('ExchangeWrapper', () => {
userAddresses,
zrxTokenAddress,
exchangeContractAddress,
- erc20ProxyAddress,
+ contractWrappers.erc20Proxy.getContractAddress(),
+ contractWrappers.erc721Proxy.getContractAddress(),
);
[coinbase, makerAddress, takerAddress, feeRecipient, anotherMakerAddress] = userAddresses;
[makerTokenAddress, takerTokenAddress] = tokenUtils.getDummyERC20TokenAddresses();
@@ -264,8 +264,8 @@ describe('ExchangeWrapper', () => {
});
});
describe('#getZRXAssetData', () => {
- it('should get the asset data', async () => {
- const ZRX_ASSET_DATA = await contractWrappers.exchange.getZRXAssetDataAsync();
+ it('should get the asset data', () => {
+ const ZRX_ASSET_DATA = contractWrappers.exchange.getZRXAssetData();
const ASSET_DATA_HEX_LENGTH = 74;
expect(ZRX_ASSET_DATA).to.have.length(ASSET_DATA_HEX_LENGTH);
});