NEP205: Delay voting for new version until a certain date and time - #6309
Conversation
Instead of a protocol change, add a mechanism to voluntarily delay voting for the new protocol version.
bowenwang1996
left a comment
There was a problem hiding this comment.
Do we plan to manually set the upgrade time in code every time we do a new release for both testnet and mainnet? If so, how could we make sure that we don't forget to do it?
|
@nikurt please answer my question above #6309 (review) |
|
@bowenwang1996 sorry for missing the question. Every release requires a manual update of version in two @abacabadabacaba do you have suggestions? |
Instead of only saving the current update time, how about store a dictionary from protocol versions to update times, so each time we upgrade, we have to add a new entry to the dictionary. For emergency update, the entry value will be None, but there still must be an entry. |
|
@nikurt could you document this change in go/nearcore-release ? |
|
@bowenwang1996 documented |
See near/NEPs#205
This PR enables clients to extend the protocol upgrade window, but indirectly. This PR lets clients upgrade early but not announce the fact of the upgrade until a certain date in the future.
Normal upgrades:
Emergency upgrades: