admin-consensus-upgrade is not applying

+1 vote
Hello,

I wanted to try upgrading the maximum block size using the updated blockchain upgrade functionality However, even though I've set the 'admin-consensus-upgrade; : 0.7 in the blockchain parameters and I have three nodes in which two of them are admin, the upgrade only required one admin.

I tried with different values like 1.0 and 0.8, but nothing seems to change the number of required approvals.

Thanks in advance
asked Dec 10, 2018 by SDVII
Can you please provide the following extra information:

* Version(s) of MultiChain you are using
* Protocol version of the chain before and after the upgrade
* Output of listupgrades command before and after approval
* Output of "listpermissions admin" command
Version: 2.0 alpha 5
Protocol Version: before: 20004, after: 2004
listupgrade:

[
    {
        "name" : "Upgrade4",
        "createtxid" : "73c3f5b640a107c3b55e1d462767a652d269b44c696477328a09bcec0b93f790",
        "params" : {
            "maximum-block-size" : 90000
        },
        "startblock" : 0,
        "approved" : false,
        "appliedblock" : null,
        "appliedparams" : null,
        "skippedparams" : null,
        "admins" : [
        ],
        "required" : 1
    }
]

listpermissions admin:
[
    {
        "address" : "1F7RvUxRjavKE4vTs6XCCiNDBJGmoAWMu8fK6a",
        "for" : null,
        "type" : "admin",
        "startblock" : 0,
        "endblock" : 4294967295
    },
    {
        "address" : "1UTXbHuU3MyihaCQ8EH5yA32GnqA8nAsj9KBx2",
        "for" : null,
        "type" : "admin",
        "startblock" : 0,
        "endblock" : 4294967295
    },
    {
        "address" : "1ZjmAMm5nhkAiPf6atjLEB9gNj6Ee8rRZRdoxi",
        "for" : null,
        "type" : "admin",
        "startblock" : 0,
        "endblock" : 4294967295
    }
]

1 Answer

+1 vote
 
Best answer

Thanks for the extra information. Is it possible you are in the blockchain's setup period, as defined by the setup-first-blocks parameter? During this period consensus rules are not applied.

answered Dec 12, 2018 by MultiChain
selected Dec 20, 2018 by SDVII
hmmm..
The strange thing is, after a long while, the restrictions started to apply.
At the beginning, I thought there might've been a mining issue, but we already mined multiple transactions before the restrictions applied.
You should check the block number, and compare it to the setup-first-blocks parameter. That will determine whether or not consensus rules are applied.
...