-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: