Skip to content

Commit

Permalink
Do not throw on ABI _error_ type (#1493, #1497).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Apr 22, 2021
1 parent ce8f1e4 commit bd05aed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/abi/src.ts/fragments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit bd05aed

Please # to comment.