aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-11 07:09:07 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-13 02:45:02 +0800
commit764b1c35cb7bf763deeb5db34ebe36d6e973b409 (patch)
tree62c5aa72c3ca48c9ae6e4df15204c9e9c031cb32 /packages/contracts/src/utils
parentee8c9b764d0ee153efa91075b35f3192b72be119 (diff)
downloaddexon-sol-tools-764b1c35cb7bf763deeb5db34ebe36d6e973b409.tar
dexon-sol-tools-764b1c35cb7bf763deeb5db34ebe36d6e973b409.tar.gz
dexon-sol-tools-764b1c35cb7bf763deeb5db34ebe36d6e973b409.tar.bz2
dexon-sol-tools-764b1c35cb7bf763deeb5db34ebe36d6e973b409.tar.lz
dexon-sol-tools-764b1c35cb7bf763deeb5db34ebe36d6e973b409.tar.xz
dexon-sol-tools-764b1c35cb7bf763deeb5db34ebe36d6e973b409.tar.zst
dexon-sol-tools-764b1c35cb7bf763deeb5db34ebe36d6e973b409.zip
Add tests for deepCopyBytes and missing write methods from LibBytes
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 5e336589f..ec3c8fd36 100644
--- a/packages/contracts/src/utils/constants.ts
+++ b/packages/contracts/src/utils/constants.ts
@@ -24,6 +24,7 @@ export const constants = {
LIB_BYTES_GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED: 'GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED',
LIB_BYTES_GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED: 'GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED',
LIB_BYTES_GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED: 'GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED',
+ 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.',
TESTRPC_NETWORK_ID: 50,