aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-05-22 07:39:07 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-05-22 07:52:49 +0800
commit2c496a92adaef4132f6b0a135e61bad7b26b18bd (patch)
tree15466ce417120907a7b950c22e8e23230c09f746 /packages/contracts/src/utils
parent4ca8903a21d5a78ace5bff3fc5bbc917e369cbfe (diff)
downloaddexon-sol-tools-2c496a92adaef4132f6b0a135e61bad7b26b18bd.tar
dexon-sol-tools-2c496a92adaef4132f6b0a135e61bad7b26b18bd.tar.gz
dexon-sol-tools-2c496a92adaef4132f6b0a135e61bad7b26b18bd.tar.bz2
dexon-sol-tools-2c496a92adaef4132f6b0a135e61bad7b26b18bd.tar.lz
dexon-sol-tools-2c496a92adaef4132f6b0a135e61bad7b26b18bd.tar.xz
dexon-sol-tools-2c496a92adaef4132f6b0a135e61bad7b26b18bd.tar.zst
dexon-sol-tools-2c496a92adaef4132f6b0a135e61bad7b26b18bd.zip
Add awaitTransactionMinedAsync after every sent transaction
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r--packages/contracts/src/utils/constants.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/contracts/src/utils/constants.ts b/packages/contracts/src/utils/constants.ts
index 3fd2a0a3b..b876bf6b5 100644
--- a/packages/contracts/src/utils/constants.ts
+++ b/packages/contracts/src/utils/constants.ts
@@ -20,6 +20,7 @@ export const constants = {
INVALID_OPCODE: 'invalid opcode',
REVERT: 'revert',
TESTRPC_NETWORK_ID: 50,
+ AWAIT_TRANSACTION_MINED_MS: 100,
MAX_ETHERTOKEN_WITHDRAW_GAS: 43000,
MAX_TOKEN_TRANSFERFROM_GAS: 80000,
MAX_TOKEN_APPROVE_GAS: 60000,