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 API to submit transactions using runtime scale_value::Value's #581

Closed
jsdw opened this issue Jun 23, 2022 · 0 comments · Fixed by #593
Closed

Add API to submit transactions using runtime scale_value::Value's #581

jsdw opened this issue Jun 23, 2022 · 0 comments · Fixed by #593

Comments

@jsdw
Copy link
Collaborator

jsdw commented Jun 23, 2022

A transaction can basically be represented as a pallet name, call name, and a vec of scale_value::Value's representing each argument to the call. (In theory the whole thing could be represented by a single Value, but is there an advantage to that or does it just leave more room for errors?).

Let's add an API to allow transactions of this form to be created and submitted, ideally reusing as much as possible of the existing logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant