Skip to content

feat: implement support for new ABI error codes #3894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Jun 10, 2025
Merged

Conversation

Torres-ssf
Copy link
Contributor

@Torres-ssf Torres-ssf commented May 27, 2025

Release notes

In this release, we:

  • Implement support for new ABI error codes

Checklist

  • All changes are covered by tests (or not applicable)
  • All changes are documented (or not applicable)
  • I reviewed the entire PR myself (preferably, on GH UI)
  • I described all Breaking Changes (or there's none)

@Torres-ssf Torres-ssf self-assigned this May 27, 2025
@Torres-ssf Torres-ssf added the feat Issue is a feature label May 27, 2025
Copy link

vercel bot commented May 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fuels-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 11:44am
ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 11:44am
ts-docs-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 11:44am

Copy link
Contributor

@petertonysmith94 petertonysmith94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation looks solid to me.

Torres-ssf and others added 2 commits June 10, 2025 08:19
Co-authored-by: Peter Smith <peter@blueoceancomputing.co.uk>
Copy link
Contributor

Coverage Report:

Lines Branches Functions Statements
76.7%(-0.26%) 69.63%(-0.3%) 75.22%(-0.18%) 76.71%(-0.25%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
🔴 ✨ packages/abi-typegen/src/abi/errors/ErrorCode.ts 0%
(+0%)
100%
(+100%)
0%
(+0%)
0%
(+0%)
🔴 ✨ packages/abi-typegen/src/utils/makeErrorCodes.ts 0%
(+0%)
100%
(+100%)
0%
(+0%)
0%
(+0%)
🔴 ✨ packages/abi-typegen/src/utils/parseErrorCodes.ts 75%
(+75%)
100%
(+100%)
50%
(+50%)
75%
(+75%)
🔴 packages/account/src/providers/provider.ts 73.36%
(-0.13%)
66.17%
(+0%)
74.13%
(+0%)
73.19%
(-0.13%)
🔴 packages/account/src/providers/transaction-response/transaction-response.ts 82.01%
(-0.59%)
75%
(+0%)
95.83%
(+0%)
82.14%
(-0.59%)
🔴 packages/account/src/providers/utils/extract-tx-error.ts 22.72%
(-10.61%)
6.06%
(-5.05%)
44.44%
(-12.7%)
24.63%
(-10.15%)
🔴 packages/program/src/response.ts 9.09%
(-0.43%)
0%
(+0%)
0%
(+0%)
9.09%
(-0.43%)

@Torres-ssf Torres-ssf merged commit bfb62ad into master Jun 10, 2025
24 checks passed
@Torres-ssf Torres-ssf deleted the st/feat/abi-errors branch June 10, 2025 12:07
@arboleya
Copy link
Contributor

🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for ABI Error Types
3 participants