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

Substrate Wrapper - Issue serializating extrinsics #125

Open
willemolding opened this issue Oct 5, 2022 · 0 comments
Open

Substrate Wrapper - Issue serializating extrinsics #125

willemolding opened this issue Oct 5, 2022 · 0 comments

Comments

@willemolding
Copy link
Contributor

Currently this test is failing with an error:

{
 "jsonrpc": "2.0",
 "error":
 {
  "code": 1002,
  "message": "Verification Error: Runtime error: Execution failed: Error calling api function: Failed to convert parameter `tx` from node to runtime of validate_transaction",
  "data": "RuntimeApi(\"Execution failed: Error calling api function: Failed to convert parameter `tx` from node to runtime of validate_transaction\")"
 },
 "id": 1
}

Most likely this is a but in how the extrinsics and/or signatures are serialized prior to sending to the chain. This needs looking into and ideally some Rust tests added to unit test the serialization 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

No branches or pull requests

1 participant