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

Unable to upload contract with v1.2 #515

Closed
HCastano opened this issue Apr 22, 2022 · 0 comments · Fixed by #523
Closed

Unable to upload contract with v1.2 #515

HCastano opened this issue Apr 22, 2022 · 0 comments · Fixed by #523
Labels
bug Something isn't working

Comments

@HCastano
Copy link
Contributor

HCastano commented Apr 22, 2022

I'm trying to deploy a contract on a node using cargo-contract v1.2 and am getting
the following error:

ink on  master [$] via 🦀 v1.62.0-nightly
❯ cargo contract upload --manifest-path ./examples/multisig/Cargo.toml --suri //Alice --verbose
ERROR: Rpc error: JSON-RPC request 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\":\"Runtime error: Execution failed: Error calling api function: Failed to convert parameter `tx` from node to runtime of validate_transaction\"},\"id\":5}"

Caused by:
    JSON-RPC request 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\":\"Runtime error: Execution failed: Error calling api function: Failed to convert parameter `tx` from node to runtime of validate_transaction\"},\"id\":5}"

I'm able to deploy the same contract with v1.0

cc @ascjones

@HCastano HCastano added the bug Something isn't working label Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant