diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-06-20 09:26:42 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-06-21 04:54:39 +0800 |
commit | 8d003dbc30735d72b860e739fd7dc47fad557df9 (patch) | |
tree | 25a5ae38968d05c7657cb2496cd763fb36858e39 /packages/contracts/src/utils | |
parent | 2c7358d64ffb0e9fcbc462bbe3cd89edd67cec81 (diff) | |
download | dexon-sol-tools-8d003dbc30735d72b860e739fd7dc47fad557df9.tar dexon-sol-tools-8d003dbc30735d72b860e739fd7dc47fad557df9.tar.gz dexon-sol-tools-8d003dbc30735d72b860e739fd7dc47fad557df9.tar.bz2 dexon-sol-tools-8d003dbc30735d72b860e739fd7dc47fad557df9.tar.lz dexon-sol-tools-8d003dbc30735d72b860e739fd7dc47fad557df9.tar.xz dexon-sol-tools-8d003dbc30735d72b860e739fd7dc47fad557df9.tar.zst dexon-sol-tools-8d003dbc30735d72b860e739fd7dc47fad557df9.zip |
Fixed two mislabelled revert reasons + Signature Validator revert tests working on Geth
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r-- | packages/contracts/src/utils/constants.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/contracts/src/utils/constants.ts b/packages/contracts/src/utils/constants.ts index ec3c8fd36..f21b8c7a0 100644 --- a/packages/contracts/src/utils/constants.ts +++ b/packages/contracts/src/utils/constants.ts @@ -27,6 +27,11 @@ export const constants = { LIB_BYTES_GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED: 'GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED', ERC20_INSUFFICIENT_BALANCE: 'Insufficient balance to complete transfer.', ERC20_INSUFFICIENT_ALLOWANCE: 'Insufficient allowance to complete transfer.', + EXCHANGE_LENGTH_GREATER_THAN_0_REQUIRED: 'LENGTH_GREATER_THAN_0_REQUIRED', + EXCHANGE_SIGNATURE_UNSUPPORTED: 'SIGNATURE_UNSUPPORTED', + EXCHANGE_SIGNATURE_ILLEGAL: 'SIGNATURE_ILLEGAL', + EXCHANGE_LENGTH_0_REQUIRED: 'LENGTH_0_REQUIRED', + EXCHANGE_LENGTH_65_REQUIRED: 'LENGTH_65_REQUIRED', TESTRPC_NETWORK_ID: 50, // Note(albrow): In practice V8 and most other engines limit the minimum // interval for setInterval to 10ms. We still set it to 0 here in order to |