diff --git a/packages/abi/src.ts/fragments.ts b/packages/abi/src.ts/fragments.ts index 281190e4da..941c01fad3 100644 --- a/packages/abi/src.ts/fragments.ts +++ b/packages/abi/src.ts/fragments.ts @@ -445,6 +445,7 @@ export abstract class Fragment { return EventFragment.fromObject(value); case "constructor": return ConstructorFragment.fromObject(value); + case "error": case "fallback": case "receive": // @TODO: Something? Maybe return a FunctionFragment? A custom DefaultFunctionFragment?