aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/utils/constants.ts10
-rw-r--r--packages/contracts/test/exchange/core.ts1
2 files changed, 5 insertions, 6 deletions
diff --git a/packages/contracts/src/utils/constants.ts b/packages/contracts/src/utils/constants.ts
index 09dd65653..6f1fea2fc 100644
--- a/packages/contracts/src/utils/constants.ts
+++ b/packages/contracts/src/utils/constants.ts
@@ -4,6 +4,7 @@ const DUMMY_TOKEN_NAME = '';
const DUMMY_TOKEN_SYMBOL = '';
const DUMMY_TOKEN_DECIMALS = 18;
const DUMMY_TOKEN_TOTAL_SUPPLY = 0;
+const TESTRPC_INITIAL_BALANCE_HEX = parseInt('100000000000000000000', 16);
export const constants = {
INVALID_OPCODE: 'invalid opcode',
@@ -14,22 +15,21 @@ export const constants = {
MAX_TOKEN_APPROVE_GAS: 60000,
DUMMY_TOKEN_ARGS: [DUMMY_TOKEN_NAME, DUMMY_TOKEN_SYMBOL, DUMMY_TOKEN_DECIMALS, DUMMY_TOKEN_TOTAL_SUPPLY],
TESTRPC_PORT: 8545,
- TESTRPC_INITIAL_BALANCE_HEX: parseInt('100000000000000000000', 16),
TESTRPC_ACCOUNTS: [
{
- balance: this.TESTRPC_INITIAL_BALANCE_HEX,
+ balance: TESTRPC_INITIAL_BALANCE_HEX,
secretKey: ethUtil.sha3('secret0'),
},
{
- balance: this.TESTRPC_INITIAL_BALANCE_HEX,
+ balance: TESTRPC_INITIAL_BALANCE_HEX,
secretKey: ethUtil.sha3('secret1'),
},
{
- balance: this.TESTRPC_INITIAL_BALANCE_HEX,
+ balance: TESTRPC_INITIAL_BALANCE_HEX,
secretKey: ethUtil.sha3('secret2'),
},
{
- balance: this.TESTRPC_INITIAL_BALANCE_HEX,
+ balance: TESTRPC_INITIAL_BALANCE_HEX,
secretKey: ethUtil.sha3('secret3'),
},
],
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index b68db3edc..9b8f9e1d2 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -492,7 +492,6 @@ describe('Exchange', () => {
makerTokenAmount: ZeroEx.toBaseUnitAmount(new BigNumber(100), 18),
takerTokenAmount: ZeroEx.toBaseUnitAmount(new BigNumber(200), 18),
});
-
return expect(exWrapper.fillOrderAsync(signedOrder, takerAddress)).to.be.rejectedWith(constants.REVERT);
});