Make wethAssetProxy and zrxVault deployment constants
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { BlockchainTestsEnvironment, constants, expect, txDefaults } from '@0x/contracts-test-utils';
|
||||
import { BlockchainTestsEnvironment, expect, txDefaults } from '@0x/contracts-test-utils';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { DecodedLogEntry, TransactionReceiptWithDecodedLogs } from 'ethereum-types';
|
||||
import * as _ from 'lodash';
|
||||
@@ -86,6 +86,7 @@ export class CumulativeRewardTrackingSimulation {
|
||||
txDefaults,
|
||||
artifacts,
|
||||
this._stakingApiWrapper.wethContract.address,
|
||||
this._stakingApiWrapper.zrxVaultContract.address,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -104,8 +105,6 @@ export class CumulativeRewardTrackingSimulation {
|
||||
await this._executeActionsAsync(initActions);
|
||||
await this._stakingApiWrapper.stakingProxyContract.attachStakingContract.awaitTransactionSuccessAsync(
|
||||
this.getTestCumulativeRewardTrackingContract().address,
|
||||
constants.NULL_ADDRESS,
|
||||
constants.NULL_ADDRESS,
|
||||
);
|
||||
const testLogs = await this._executeActionsAsync(testActions);
|
||||
CumulativeRewardTrackingSimulation._assertTestLogs(expectedTestLogs, testLogs);
|
||||
|
||||
Reference in New Issue
Block a user