aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/util
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2017-12-12 14:47:47 +0800
committerAmir Bandeali <abandeali1@gmail.com>2017-12-13 07:05:30 +0800
commitb97f140b78a0420943291af57d122bc90a488112 (patch)
tree29a3dfac4f8fecddba716171432270bbc53cfff4 /packages/contracts/util
parent1dda4d5f78705d96934a08f00000e9a98a3bbc3d (diff)
downloaddexon-sol-tools-b97f140b78a0420943291af57d122bc90a488112.tar.gz
dexon-sol-tools-b97f140b78a0420943291af57d122bc90a488112.tar.zst
dexon-sol-tools-b97f140b78a0420943291af57d122bc90a488112.zip
Add gas limits to failing tests
Diffstat (limited to 'packages/contracts/util')
-rw-r--r--packages/contracts/util/constants.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/contracts/util/constants.ts b/packages/contracts/util/constants.ts
index c28a18e27..e61b2f802 100644
--- a/packages/contracts/util/constants.ts
+++ b/packages/contracts/util/constants.ts
@@ -3,4 +3,7 @@ export const constants = {
INVALID_OPCODE: 'invalid opcode',
REVERT: 'revert',
TESTRPC_NETWORK_ID: 50,
+ MAX_ETHERTOKEN_WITHDRAW_GAS: 43000,
+ MAX_TOKEN_TRANSFERFROM_GAS: 80000,
+ MAX_TOKEN_APPROVE_GAS: 60000,
};