aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/src/abi_encoder
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2019-01-10 09:12:26 +0800
committerGreg Hysen <greg.hysen@gmail.com>2019-01-15 02:49:44 +0800
commit3a28eb1c6a5e213f4874c34e8a3c85eadfe98fc9 (patch)
treea7371aadbb625afc040e658bb27a3f98daa2770a /packages/utils/src/abi_encoder
parent82a44559f6a3d795a6a8b0baa9486633bc884475 (diff)
downloaddexon-0x-contracts-3a28eb1c6a5e213f4874c34e8a3c85eadfe98fc9.tar
dexon-0x-contracts-3a28eb1c6a5e213f4874c34e8a3c85eadfe98fc9.tar.gz
dexon-0x-contracts-3a28eb1c6a5e213f4874c34e8a3c85eadfe98fc9.tar.bz2
dexon-0x-contracts-3a28eb1c6a5e213f4874c34e8a3c85eadfe98fc9.tar.lz
dexon-0x-contracts-3a28eb1c6a5e213f4874c34e8a3c85eadfe98fc9.tar.xz
dexon-0x-contracts-3a28eb1c6a5e213f4874c34e8a3c85eadfe98fc9.tar.zst
dexon-0x-contracts-3a28eb1c6a5e213f4874c34e8a3c85eadfe98fc9.zip
Fix build after rebase
Diffstat (limited to 'packages/utils/src/abi_encoder')
-rw-r--r--packages/utils/src/abi_encoder/utils/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/utils/src/abi_encoder/utils/constants.ts b/packages/utils/src/abi_encoder/utils/constants.ts
index 36de2dd4f..fc586f295 100644
--- a/packages/utils/src/abi_encoder/utils/constants.ts
+++ b/packages/utils/src/abi_encoder/utils/constants.ts
@@ -11,7 +11,7 @@ export const constants = {
HEX_SELECTOR_BYTE_OFFSET_IN_CALLDATA: 0,
// Disable no-object-literal-type-assertion so we can enforce cast
/* tslint:disable no-object-literal-type-assertion */
- DEFAULT_DECODING_RULES: { shouldConvertStructsToObjects: false } as DecodingRules,
+ DEFAULT_DECODING_RULES: { shouldConvertStructsToObjects: true } as DecodingRules,
DEFAULT_ENCODING_RULES: { shouldOptimize: true, shouldAnnotate: false } as EncodingRules,
/* tslint:enable no-object-literal-type-assertion */
};