diff --git a/apps/tx-builder/src/lib/interfaceRepository.ts b/apps/tx-builder/src/lib/interfaceRepository.ts index e6c6bf6f..c09f5426 100644 --- a/apps/tx-builder/src/lib/interfaceRepository.ts +++ b/apps/tx-builder/src/lib/interfaceRepository.ts @@ -54,6 +54,10 @@ class InterfaceRepository { return false } + if (e?.type?.toLowerCase() === 'error') { + return false + } + return !e.constant }) .filter((m: any) => m.type !== 'constructor')