diff options
author | Greg Hysen <hysz@users.noreply.github.com> | 2019-01-18 17:07:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 17:07:28 +0800 |
commit | d7a5190d5264b90da62eaf892a564cfc5936dafd (patch) | |
tree | 2110e8fd02d099d3183501a4ce86e85b7f47ba03 /packages | |
parent | 2b64661c61eaedffe5debfdf1aa4210dcdb02f52 (diff) | |
parent | ca5b024e03dad446d49525d56fa5415d0c0b502e (diff) | |
download | dexon-sol-tools-d7a5190d5264b90da62eaf892a564cfc5936dafd.tar dexon-sol-tools-d7a5190d5264b90da62eaf892a564cfc5936dafd.tar.gz dexon-sol-tools-d7a5190d5264b90da62eaf892a564cfc5936dafd.tar.bz2 dexon-sol-tools-d7a5190d5264b90da62eaf892a564cfc5936dafd.tar.lz dexon-sol-tools-d7a5190d5264b90da62eaf892a564cfc5936dafd.tar.xz dexon-sol-tools-d7a5190d5264b90da62eaf892a564cfc5936dafd.tar.zst dexon-sol-tools-d7a5190d5264b90da62eaf892a564cfc5936dafd.zip |
Merge pull request #1519 from hosyvietanh/patch-1
Allow matching of uint80 in evm_data_type
Diffstat (limited to 'packages')
-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; |