Unable to upload contract with `v1.2`
Created by: HCastano
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