Install
openclaw skills install revertwtf-parser-decoderModify or debug revert.wtf normalization, revert-data extraction, trace extraction, ABI decoding, catalog matching, selector lookup, or ERC-4337 decoding behavior.
openclaw skills install revertwtf-parser-decoderUse this skill when working in packages/parser, packages/selectors, packages/aa, or shared result types in packages/core.
packages/parser.@revertwtf/parser/decode, @revertwtf/parser/explain, @revertwtf/catalog/panic, @revertwtf/aa/parse, @revertwtf/aa/explain.packages/parser/src/normalizeError.ts collects messages, codes, error names, revert data, method/action hints, and trace frames.packages/parser/src/extractRevertData.ts finds revert bytes in nested provider and simulator payloads.packages/parser/src/extractTraceFailures.ts summarizes failed call frames.packages/parser/src/decodeRevertData.ts decodes Solidity Error(string), Panic(uint256), provided ABI errors, and selector catalog matches.packages/parser/src/matchCatalog.ts indexes and matches catalog patterns.packages/parser/src/explain.ts ranks decoded results, trace evidence, and catalog matches into user-facing explanations.packages/parser/src/browser*.ts, packages/catalog/src/browser.ts, and packages/aa/src/browser*.ts protect browser-condition imports from accidental full-data bundles.packages/aa/src/ handles ERC-4337 AAxx and EntryPoint FailedOp/FailedOpWithRevert.node node_modules/typescript/bin/tsc -p packages/core/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/selectors/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/parser/tsconfig.json --noEmit
node node_modules/typescript/bin/tsc -p packages/aa/tsconfig.json --noEmit
When the local runner allows it:
pnpm --filter @revertwtf/parser test
pnpm --filter @revertwtf/aa test
pnpm --filter @revertwtf/selectors test
If pnpm/Vitest fails with spawn EPERM, report that and include direct tsc plus a targeted Node smoke check.