NextProtocolSwitchOn specify the round number at which the next protocol would be adopted. If there is no upgrade taking place, nor a wait for the next protocol, this would be zero.
NextProtocolVoteBefore specify the last voting round for the next protocol proposal. If there is no voting for an upgrade taking place, this would be zero.
Static
Readonly
encodingStatic
fromGenerated using TypeDoc
UpgradeState tracks the protocol upgrade state machine. It is, strictly speaking, computable from the history of all UpgradeVotes but we keep it in the block for explicitness and convenience (instead of materializing it separately, like balances).