diff --git a/core/primitives/src/version.rs b/core/primitives/src/version.rs index 4a366459749..ff4b368caa0 100644 --- a/core/primitives/src/version.rs +++ b/core/primitives/src/version.rs @@ -81,7 +81,12 @@ pub const PROTOCOL_UPGRADE_SCHEDULE: Lazy = Lazy: // let schedule = vec![(v1_datetime, v1_protocol_version), (v2_datetime, v2_protocol_version)]; // ProtocolUpgradeVotingSchedule::new_from_env_or_schedule(PROTOCOL_VERSION, schedule).unwrap() - ProtocolUpgradeVotingSchedule::new_from_env_or_schedule(PROTOCOL_VERSION, vec![]).unwrap() + // 2.2.1 + // Monday, 2024-09-23 10:00:00 UTC + let protocol_version = 71; + let datetime = ProtocolUpgradeVotingSchedule::parse_datetime("2024-09-23 10:00:00").unwrap(); + let schedule = vec![(datetime, protocol_version)]; + ProtocolUpgradeVotingSchedule::new_from_env_or_schedule(PROTOCOL_VERSION, schedule).unwrap() }); /// Gives new clients an option to upgrade without announcing that they support