add example to get result of sudo extrinsic
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 489
- Forks
- 293
- Avg merge
- 18h 35m
- Merged PRs (30d)
- 3
Description
runtime returns success for the sudo call even if the wrapped extrinsic fails. would be nice to have an example of how to get the result of the wrapped extrinsic.
for an example that reads the sudoid event to get the wrapped result in polkadotjs see:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked Polkadot.js cookbook example and locating the existing Subxt documentation or examples for sudo extrinsics. Add an example showing how to read the sudo event and obtain the wrapped extrinsic result, including the failure case; done means the example clearly distinguishes the sudo call's success from the wrapped call's result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100