PolymeshAssociation / Polymesh

Node for Polymesh Blockchain
https://polymesh.network/
GNU General Public License v3.0
162 stars 49 forks source link

Mesh 2133/return extrinsic errors #1581

Closed HenriqueNogara closed 8 months ago

HenriqueNogara commented 9 months ago

Calling call_runtime_with_error writes a Result<(), String> to the output buffer, which can be used for more descriptive error msg.

changelog

new features

modified external API

new external API

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (36d0098) 58.67% compared to head (2ad9cce) 58.67%. Report is 2 commits behind head on nft-sc-draft.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## nft-sc-draft #1581 +/- ## ================================================ - Coverage 58.67% 58.67% -0.01% ================================================ Files 142 142 Lines 32236 32236 ================================================ - Hits 18915 18914 -1 - Misses 13321 13322 +1 ``` [see 2 files with indirect coverage changes](https://app.codecov.io/gh/PolymeshAssociation/Polymesh/pull/1581/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PolymeshAssociation)