Skip to content
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

add example to get result of sudo extrinsic #1854

Open
dvc94ch opened this issue Nov 5, 2024 · 1 comment
Open

add example to get result of sudo extrinsic #1854

dvc94ch opened this issue Nov 5, 2024 · 1 comment
Labels
solution-engineer This issue is a good candidate for a solutions engineer

Comments

@dvc94ch
Copy link
Contributor

dvc94ch commented Nov 5, 2024

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:

@jsdw
Copy link
Collaborator

jsdw commented Jan 29, 2025

The plan here should be to come up with an example which makes a Sudo call and decodes the response. If we find we're lacking in some code here then we can look into how we can improve things!

@jsdw jsdw added the solution-engineer This issue is a good candidate for a solutions engineer label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solution-engineer This issue is a good candidate for a solutions engineer
Projects
None yet
Development

No branches or pull requests

2 participants