aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-04-05 19:19:14 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-04-05 19:52:19 +0800
commitb99c797945dacae09be1e1e2d58f806423fedffa (patch)
treecbaae6089347793d7b205d696d517cf2e1de38ab /packages/contracts
parent59edca41666851dc84a32330f1d978772818da9d (diff)
downloaddexon-0x-contracts-b99c797945dacae09be1e1e2d58f806423fedffa.tar.gz
dexon-0x-contracts-b99c797945dacae09be1e1e2d58f806423fedffa.tar.zst
dexon-0x-contracts-b99c797945dacae09be1e1e2d58f806423fedffa.zip
Fix tests
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/test/exchange/wrapper.ts1
-rw-r--r--packages/contracts/test/utils/deployer.ts3
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts
index d4029c8cd..c658dca79 100644
--- a/packages/contracts/test/exchange/wrapper.ts
+++ b/packages/contracts/test/exchange/wrapper.ts
@@ -73,7 +73,6 @@ describe('Exchange', () => {
const exchangeInstance = await deployer.deployAsync(ContractName.Exchange, [
zrx.address,
tokenTransferProxy.address,
- provider,
]);
exchange = new ExchangeContract(exchangeInstance.abi, exchangeInstance.address, provider);
await tokenTransferProxy.addAuthorizedAddress.sendTransactionAsync(exchange.address, { from: accounts[0] });
diff --git a/packages/contracts/test/utils/deployer.ts b/packages/contracts/test/utils/deployer.ts
index 1baa47f09..45f79a2a4 100644
--- a/packages/contracts/test/utils/deployer.ts
+++ b/packages/contracts/test/utils/deployer.ts
@@ -7,9 +7,8 @@ import { constants } from '../../util/constants';
import { web3 } from './web3_wrapper';
const deployerOpts = {
- web3Provider: web3.currentProvider,
+ provider: web3.currentProvider,
artifactsDir: path.resolve('src', 'artifacts'),
- jsonrpcUrl: devConstants.RPC_URL,
networkId: constants.TESTRPC_NETWORK_ID,
defaults: {
gas: devConstants.GAS_ESTIMATE,