Dear Team,
today I upgraded my node from ver 2.0.1 up to 2.3.3 in order touse the APIs.
After download and installing the latest MC software,I realized that I need to upgrade the protocol version too.
I tried to build directly the raw transaction in order to have full control on it and to sign off line with the admin private key but I didnt' succeded.
1. Could you explain how to build the raw transaction for upgrading and approving ?
As alternative solution, I connected my laptop where I install a new node and the admin priv key.
I typed the following:
multichain-cli chainName createfrom <admin address> upgrade protocol_upgrade false '{"protocol-version":20013}
and then
multichain-cli.exe chainName approvefrom <admin address> "protocol_upgrade" true
[
{
"name" : "protocol_upgrade",
"createtxid" : "92d851ffe1ecd1988ce8722c4aef5b144527fc68995e9247ccb61229e4a1da59",
"params" : {
"protocol-version" : 20013
},
"startblock" : 0,
"approved" : true,
"appliedblock" : 17907,
"appliedparams" : {
"protocol-version" : 20013
},
"skippedparams" : {
},
"admins" : [
"1Jrw7s9wbRSUzH1StqvVbfDTM2qQLNk3ts"
],
"required" : 0
}
]
Everything is ok and I got the following txid
d4b39e2dee8517de28b6162ba0f61e91c46470dd2761bdcb63b8daa602b345be
I tried to decode the txid with
decoderawtransaction d4b39e2dee8517de28b6162ba0f61e91c46470dd2761bdcb63b8daa602b345be
But I got the error
error code: -22
error message:
TX decode failed
2. Could you explain me the reason why I cannot decode them?
Thanks,
Fabio