diff options
author | hosyvietanh <hosyvietanh@gmail.com> | 2019-01-17 12:07:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-17 12:07:50 +0800 |
commit | ca5b024e03dad446d49525d56fa5415d0c0b502e (patch) | |
tree | 35997c5591c9c2da07aa049beb1a6b5c9b82ad37 /packages/utils/src/abi_encoder/evm_data_types | |
parent | beaf0a4a8a1cd6800ac009bce4fed38ff3828f2a (diff) | |
download | dexon-0x-contracts-ca5b024e03dad446d49525d56fa5415d0c0b502e.tar dexon-0x-contracts-ca5b024e03dad446d49525d56fa5415d0c0b502e.tar.gz dexon-0x-contracts-ca5b024e03dad446d49525d56fa5415d0c0b502e.tar.bz2 dexon-0x-contracts-ca5b024e03dad446d49525d56fa5415d0c0b502e.tar.lz dexon-0x-contracts-ca5b024e03dad446d49525d56fa5415d0c0b502e.tar.xz dexon-0x-contracts-ca5b024e03dad446d49525d56fa5415d0c0b502e.tar.zst dexon-0x-contracts-ca5b024e03dad446d49525d56fa5415d0c0b502e.zip |
Allow matching of uint80 in evm_data_type
Diffstat (limited to 'packages/utils/src/abi_encoder/evm_data_types')
-rw-r--r-- | packages/utils/src/abi_encoder/evm_data_types/int.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/utils/src/abi_encoder/evm_data_types/int.ts b/packages/utils/src/abi_encoder/evm_data_types/int.ts index 8d98e195b..cc3164b18 100644 --- a/packages/utils/src/abi_encoder/evm_data_types/int.ts +++ b/packages/utils/src/abi_encoder/evm_data_types/int.ts @@ -10,7 +10,7 @@ import * as EncoderMath from '../utils/math'; export class IntDataType extends AbstractBlobDataType { private static readonly _MATCHER = RegExp( - '^int(8|16|24|32|40|48|56|64|72|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256){0,1}$', + '^int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256){0,1}$', ); private static readonly _SIZE_KNOWN_AT_COMPILE_TIME: boolean = true; private static readonly _MAX_WIDTH: number = 256; |