From e8a0144b7aa95add967578d9629d70bf01fc55cf Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Mon, 21 Jun 2021 21:12:25 -0400 Subject: [PATCH] Fix issue with loading JSON ABI with internalType property (#728). --- packages/abi/src.ts/fragments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/abi/src.ts/fragments.ts b/packages/abi/src.ts/fragments.ts index 5feff220c5..1794c729a4 100644 --- a/packages/abi/src.ts/fragments.ts +++ b/packages/abi/src.ts/fragments.ts @@ -11,6 +11,7 @@ export interface JsonFragmentType { readonly name?: string; readonly indexed?: boolean; readonly type?: string; + readonly internalType?: any; // @TODO: in v6 reduce type readonly components?: ReadonlyArray; } @@ -30,7 +31,6 @@ export interface JsonFragment { readonly gas?: string; }; - const _constructorGuard = { }; // AST Node parser state