Skip to content

[forc-test] error handling support #7089

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

Open
kayagokalp opened this issue Apr 15, 2025 · 1 comment
Open

[forc-test] error handling support #7089

kayagokalp opened this issue Apr 15, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request forc-test Everything related to the `forc-test` lib and `forc test` command. team:tooling Tooling Team

Comments

@kayagokalp
Copy link
Member

kayagokalp commented Apr 15, 2025

https://github.com/FuelLabs/sway-rfcs/blob/master/rfcs/0014-abi-errors.md

Describes the error handling methodology we should be implementing into our tooling. AFAIK compiler support for this already landed. We should be decoding the error codes as described in the RFC. This should be done to the forc-test such that unit tests that produces a revert code actually shows a nice error description.

Edit: panic is being added in #7073

@kayagokalp kayagokalp added enhancement New feature or request forc-test Everything related to the `forc-test` lib and `forc test` command. team:tooling Tooling Team labels Apr 15, 2025
@kayagokalp kayagokalp self-assigned this Apr 15, 2025
@ironcev
Copy link
Member

ironcev commented Apr 30, 2025

The work on forc-test can actually be started once #7118 is merged.

@ironcev ironcev self-assigned this May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forc-test Everything related to the `forc-test` lib and `forc test` command. team:tooling Tooling Team
Projects
None yet
Development

No branches or pull requests

2 participants