-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Better error messages for predicate setData #1552
Comments
One approach to do this is would be to make each coder aware of the abi it's encoding/decoding so that they can throw an abi-specific message like:
It would definitely be nice to have one of the above, but is it worthwhile to implement? On first hunch it feels like it would require a lot of custom code. I don't see another way to substantially improve the error messages besides this. @FuelLabs/sdk-ts What do you think? |
@arboleya It might be wise to block this until the new encoding scheme is finished. |
Blocked by: |
@nedsalk @Dhaiwat10 Do you guys think this is still blocked, now that we merged #1826? |
@arboleya I believe it's blocked by the new encoding #1672, rather than #1826. In light of #1826, the problem will be on Maybe @Dhaiwat10 could confirm my understanding 🙏🏼 |
I wonder if these errors weren't revert errors, in which case could be related to #1840. |
I believe this issue is in reference to the Take for instance the Also the aggregate coders, take |
This feedback came in response to the development of the WebAuthn, referenced in the issue description: |
Changing topic from
|
The current encoding error messages were weak on details and should be improved.
Note
The text was updated successfully, but these errors were encountered: