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

Runtime API to dispatch call and return events #230

Closed
xlc opened this issue Jan 17, 2023 · 3 comments
Closed

Runtime API to dispatch call and return events #230

xlc opened this issue Jan 17, 2023 · 3 comments
Assignees
Labels
C1-mentor A task where a mentor is available. Please indicate in the issue who the mentor could be. C2-good-first-issue A task for a first time contributor to become familiar with the Polkadot-SDK. I5-enhancement An additional feature request. T1-FRAME This PR/Issue is related to core FRAME, the framework. T4-runtime_API This PR/Issue is related to runtime APIs.

Comments

@xlc
Copy link
Contributor

xlc commented Jan 17, 2023

Runtime API to take an origin, a call, and dispatch it, and return events.

This will allow dry run tx without complicated setup. Including test governance calls with special origin.

@seunlanlege
Copy link
Contributor

simnode already does this and more.

https://github.com/ComposableFi/centauri/blob/master/utils/simnode/src/lib.rs

@Polkadot-Forum
Copy link

This issue has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/discussion-shaping-the-future-of-try-runtime-and-try-runtime-cli/2657/6

@juangirini juangirini transferred this issue from paritytech/substrate Aug 24, 2023
@the-right-joyce the-right-joyce added T1-FRAME This PR/Issue is related to core FRAME, the framework. and removed T1-runtime labels Aug 25, 2023
@ggwpez ggwpez added C1-mentor A task where a mentor is available. Please indicate in the issue who the mentor could be. T4-runtime_API This PR/Issue is related to runtime APIs. C2-good-first-issue A task for a first time contributor to become familiar with the Polkadot-SDK. I5-enhancement An additional feature request. labels Mar 13, 2024
@acatangiu acatangiu moved this to Next to pick up in Parity Roadmap Apr 8, 2024
@acatangiu acatangiu moved this from Next to pick up to In-Progress in Parity Roadmap Apr 8, 2024
@acatangiu
Copy link
Contributor

This is done and live on most chains.

@github-project-automation github-project-automation bot moved this from Backlog to Done in Runtime / FRAME Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C1-mentor A task where a mentor is available. Please indicate in the issue who the mentor could be. C2-good-first-issue A task for a first time contributor to become familiar with the Polkadot-SDK. I5-enhancement An additional feature request. T1-FRAME This PR/Issue is related to core FRAME, the framework. T4-runtime_API This PR/Issue is related to runtime APIs.
Projects
Status: In-Progress
Status: Done
Development

No branches or pull requests

8 participants