diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-03-10 01:54:29 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:16 +0800 |
commit | 97232145a40778fa489a59f9ef0685117eb9d07f (patch) | |
tree | 1f639526f50b144ac06ad8df52ca0ef22348ebfa /packages/contracts/src/utils | |
parent | 056ec6d2b381e3318fc9a894ae35a21209e9b87b (diff) | |
download | dexon-sol-tools-97232145a40778fa489a59f9ef0685117eb9d07f.tar dexon-sol-tools-97232145a40778fa489a59f9ef0685117eb9d07f.tar.gz dexon-sol-tools-97232145a40778fa489a59f9ef0685117eb9d07f.tar.bz2 dexon-sol-tools-97232145a40778fa489a59f9ef0685117eb9d07f.tar.lz dexon-sol-tools-97232145a40778fa489a59f9ef0685117eb9d07f.tar.xz dexon-sol-tools-97232145a40778fa489a59f9ef0685117eb9d07f.tar.zst dexon-sol-tools-97232145a40778fa489a59f9ef0685117eb9d07f.zip |
Fix package.json
Diffstat (limited to 'packages/contracts/src/utils')
-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'), }, ], |