Add private keys for testrpc mnemonic

This commit is contained in:
Amir Bandeali
2018-03-12 09:52:35 -07:00
parent 6db0b2e398
commit 56ade9c44e
5 changed files with 20 additions and 70 deletions

View File

@@ -91,8 +91,8 @@ describe('Exchange', () => {
takerFeeAmount: ZeroEx.toBaseUnitAmount(new BigNumber(1), 18),
};
const secretKey = constants.TESTRPC_ACCOUNTS[0].secretKey;
orderFactory = new OrderFactory(secretKey, defaultOrderParams);
const privateKey = constants.TESTRPC_PRIVATE_KEYS[0];
orderFactory = new OrderFactory(privateKey, defaultOrderParams);
dmyBalances = new Balances([rep, dgd, zrx], [makerAddress, takerAddress, feeRecipientAddress]);
await Promise.all([
rep.approve.sendTransactionAsync(tokenTransferProxy.address, INITIAL_ALLOWANCE, { from: makerAddress }),