cannot upgrade from 10008 to 20001

+1 vote
I am trying to upgrade a couple of chains from 10008 to 20001, after having updated the actual software running on the machine to v2 Alpha and using this command from the command line after entering multichain-cli chain1

create upgrade v2alpha false '{"protocol-version":20001}'

I get a transaction ID, and listupgrades seems to show it..i tried it 4 times..and it shows the different names i gave to each one...but the protocol is still 10008 - stopped and restarted the chain as well. Anything I am doing wrong?

I have another machine running with a chain created under v2, and am able to write text date to a stream, but cannot do it after the update above..probably because it has not been updated. I am stuck at the moment..
asked Dec 26, 2017 by mark
Please post the output from listupgrades.
[
    {
        "name" : "v2",
        "createtxid" : "12e3c6c21dc90588899bad9c18875b5330401f7c16436b61696f50378988ddfd",
        "params" : {
            "protocol-version" : 20001
        },
        "startblock" : 0,
        "approved" : false,
        "appliedblock" : null,
        "admins" : [
        ],
        "required" : 1
    },
    {
        "name" : "20001",
        "createtxid" : "07c3ed98e3f7e702b313bcae6e200d29091e15f578167646f0f2f069e466fb0d",
        "params" : {
            "protocol-version" : 20001
        },
        "startblock" : 0,
        "approved" : false,
        "appliedblock" : null,
        "admins" : [
        ],
        "required" : 1
    },
    {
        "name" : "v2alpha",
        "createtxid" : "53a3bd422d199d67bc8a575791948b63b74bd5198a8b1d6b1a8805f2168eb271",
        "params" : {
            "protocol-version" : 20001
        },
        "startblock" : 0,
        "approved" : false,
        "appliedblock" : null,
        "admins" : [
        ],
        "required" : 1
    }
]
getblockchainparams still has this in the data :

"chain-name" : "chain1",
"protocol-version" : 10008,
I was reading more...duh...approvefrom [from-address] [upgrade-name] true - I missed that info..not sure why...:-)...trying it now..

1 Answer

0 votes
Thanks for posting more information. The problem is that none of the upgrades have been approved by an admin, so they've not been activated. See this page for documentation on how to upgrade a chain:

https://www.multichain.com/developers/upgrading-nodes-chains/
answered Dec 26, 2017 by MultiChain
...