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 SubmitTx should fail for unsupported runtimes #4202

Closed
kostko opened this issue Aug 16, 2021 · 0 comments · Fixed by #4204
Closed

Runtime SubmitTx should fail for unsupported runtimes #4202

kostko opened this issue Aug 16, 2021 · 0 comments · Fixed by #4204
Assignees
Labels
c:client Category: client interface c:runtime Category: runtime

Comments

@kostko
Copy link
Member

kostko commented Aug 16, 2021

Currently the SubmitTx family of methods will work even when specifying runtimes which are not configured as supported by the node. This will result in the transaction being submitted via the P2P network, but the client will be unable to see any results so the blocking variants will just block forever (or until a timeout).

The correct thing to do would be to fail SubmitTx early.

@kostko kostko added c:client Category: client interface c:runtime Category: runtime labels Aug 16, 2021
@kostko kostko self-assigned this Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:client Category: client interface c:runtime Category: runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant