Can't finalize with grin-wallet ... (InvalidArgStructure)

I have 2 Ubuntu 18 systems, both have the same specs:
OS: Ubuntu 18.04.5
Grin: 4.1.0-alpha.1
grin-wallet: 4.0.0

I get the same error with both, upon trying to finalize a transaction, using slatepack files (after scping them back and forth):

grin-wallet finalize -i <slate-response.S2.slatepack>

20200826 01:30:47.028 ERROR grin_wallet_impls::node_clients::http - Response { result: None, error: Some(RpcError { code: -32602, message: “InvalidArgStructure “tx” at position 0.”, data: None }), id: Number(1), jsonrpc: Some(“2.0”) }
20200826 01:30:47.028 ERROR grin_wallet_impls::node_clients::http - Unable to parse response for push_transaction: RPC error response: RpcError { code: -32602, message: “InvalidArgStructure “tx” at position 0.”, data: None }
20200826 01:30:47.028 ERROR grin_wallet_libwallet::api_impl::owner - api: post_tx: failed with error: Client Callback Error: Unable to parse response for push_transaction: RPC error response: RpcError { code: -32602, message: “InvalidArgStructure “tx” at position 0.”, data: None }
20200826 01:30:47.028 ERROR grin_wallet_controller::command - Tx not sent: Client Callback Error: Unable to parse response for push_transaction: RPC error response: RpcError { code: -32602, message: “InvalidArgStructure “tx” at position 0.”, data: None }
Wallet command failed: LibWallet Error: Client Callback Error: Unable to parse response for push_transaction: RPC error response: RpcError { code: -32602, message: “InvalidArgStructure “tx” at position 0.”, data: None }

It’s odd because I had them transfer grin among each other already, and now for some reason getting this error (from both machines, when trying to finalize a transaction).

I’m not sure what’s wrong here?

I’d recommend that you use Grin v4.0.0 instead of the alpha.

Okay, I followed the build guide on github. I am a git noob, how do I switch to the appropriate version before compiling?

thanks.

No worries

git checkout v4.0.0
2 Likes

yeah I have no issues no with grin 4.0.2

thanks :slight_smile: