diff options
Diffstat (limited to 'packages/contracts/src')
-rw-r--r-- | packages/contracts/src/utils/constants.ts | 10 |
1 files changed, 5 insertions, 5 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'), }, ], |