aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/tutorials
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contracts/test/tutorials')
-rw-r--r--packages/contracts/test/tutorials/arbitrage.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/contracts/test/tutorials/arbitrage.ts b/packages/contracts/test/tutorials/arbitrage.ts
index 43dbd2989..89062d4dc 100644
--- a/packages/contracts/test/tutorials/arbitrage.ts
+++ b/packages/contracts/test/tutorials/arbitrage.ts
@@ -21,7 +21,7 @@ import { OrderFactory } from '../../util/order_factory';
import { BalancesByOwner, ContractName, ExchangeContractErrs } from '../../util/types';
import { chaiSetup } from '../utils/chai_setup';
-import { defaults, provider, web3Wrapper } from '../utils/web3_wrapper';
+import { txDefaults, provider, web3Wrapper } from '../utils/web3_wrapper';
chaiSetup.configure();
const expect = chai.expect;
@@ -61,7 +61,7 @@ describe('Arbitrage', () => {
weth = await DummyTokenContract.deployFrom0xArtifactAsync(
artifacts.DummyToken,
provider,
- defaults,
+ txDefaults,
constants.DUMMY_TOKEN_NAME,
constants.DUMMY_TOKEN_SYMBOL,
constants.DUMMY_TOKEN_DECIMALS,
@@ -70,7 +70,7 @@ describe('Arbitrage', () => {
zrx = await DummyTokenContract.deployFrom0xArtifactAsync(
artifacts.DummyToken,
provider,
- defaults,
+ txDefaults,
constants.DUMMY_TOKEN_NAME,
constants.DUMMY_TOKEN_SYMBOL,
constants.DUMMY_TOKEN_DECIMALS,
@@ -79,7 +79,7 @@ describe('Arbitrage', () => {
const accountLevels = await AccountLevelsContract.deployFrom0xArtifactAsync(
artifacts.AccountLevels,
provider,
- defaults,
+ txDefaults,
);
const edAdminAddress = accounts[0];
const edMakerFee = new BigNumber(0);
@@ -88,7 +88,7 @@ describe('Arbitrage', () => {
etherDelta = await EtherDeltaContract.deployFrom0xArtifactAsync(
artifacts.EtherDelta,
provider,
- defaults,
+ txDefaults,
edAdminAddress,
feeRecipient,
accountLevels.address,
@@ -99,12 +99,12 @@ describe('Arbitrage', () => {
const tokenTransferProxy = await TokenTransferProxyContract.deployFrom0xArtifactAsync(
artifacts.TokenTransferProxy,
provider,
- defaults,
+ txDefaults,
);
const exchange = await ExchangeContract.deployFrom0xArtifactAsync(
artifacts.Exchange,
provider,
- defaults,
+ txDefaults,
zrx.address,
tokenTransferProxy.address,
);
@@ -132,7 +132,7 @@ describe('Arbitrage', () => {
arbitrage = await ArbitrageContract.deployFrom0xArtifactAsync(
artifacts.Arbitrage,
provider,
- defaults,
+ txDefaults,
exchange.address,
etherDelta.address,
tokenTransferProxy.address,