aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorGreg Hysen <hysz@users.noreply.github.com>2019-01-18 17:07:28 +0800
committerGitHub <noreply@github.com>2019-01-18 17:07:28 +0800
commitd7a5190d5264b90da62eaf892a564cfc5936dafd (patch)
tree2110e8fd02d099d3183501a4ce86e85b7f47ba03 /packages
parent2b64661c61eaedffe5debfdf1aa4210dcdb02f52 (diff)
parentca5b024e03dad446d49525d56fa5415d0c0b502e (diff)
downloaddexon-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.ts2
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;