Errors Management #117
Replies: 5 comments 2 replies
-
Polkadot.js api methods return SubmittableExtrinsic type, check for parameters but does not have null check or type check. For example
TO and VALUE can be null and any type, it will create SubmittableExtrinsic and hex without throwing any error. It would be good to add null and type check to TX methods on ternoa-js layer. |
Beta Was this translation helpful? Give feedback.
-
@ogous a first couple of information/precisions as I'm moving forward into the error management improvements. Regarding the issue about the Error Details/logging :We have added a better error logging when Regarding the issue about the Batch Issue :You might be aware of it but here is a quick reminder in our github wiki about the Batch/BatchAll functions and their differences. When the classic
When the
When a The general rule of thumb is to always use the We are going to improve the |
Beta Was this translation helpful? Give feedback.
-
@Victor-Salomon thanks for the clear expression. That is exactly what is needed to done imo. In our latest use case, we need Exciting to use alpha version. Thanks guys! 🙌🏻 |
Beta Was this translation helpful? Give feedback.
-
@Victor-Salomon @ipapandinas when could we use this release? |
Beta Was this translation helpful? Give feedback.
-
These improvements are available in the fresh deployed version 1.3.1-r0 🚀 |
Beta Was this translation helpful? Give feedback.
-
Errors are not well managed in the current version of the SDK.
There is a lack of information as @ogous pointed out in this issue #110.
The purpose of this discussion is to open a space of debate in order to design proper error management codes.
In the end we should come up with:
details
coming from the chain and return the extrinsic hash.details
message + extrinsic hash)Beta Was this translation helpful? Give feedback.
All reactions