Skip to content

Commit a83c184

Browse files
authored
voting date (#12479)
TestNet release: Nov 19th (Tue) TestNet voting: Nov 24th (Sun) TestNet protocol upgrade: Nov 25th (Mon)
1 parent caa018c commit a83c184

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

core/primitives/src/version.rs

+6-10
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,12 @@ pub const PROTOCOL_UPGRADE_SCHEDULE: LazyLock<ProtocolUpgradeVotingSchedule> =
7373
// chance, two or more votes get scheduled on the same epoch, the latest upgrades
7474
// will be postponed.
7575

76-
// e.g.
77-
// let v1_protocol_version = 50;
78-
// let v2_protocol_version = 51;
79-
// let v1_datetime = ProtocolUpgradeVotingSchedule::parse_datetime("2000-01-01 15:00:00").unwrap();
80-
// let v2_datetime = ProtocolUpgradeVotingSchedule::parse_datetime("2000-01-10 15:00:00").unwrap();
81-
//
82-
// let schedule = vec![(v1_datetime, v1_protocol_version), (v2_datetime, v2_protocol_version)];
83-
// ProtocolUpgradeVotingSchedule::new_from_env_or_schedule(PROTOCOL_VERSION, schedule).unwrap()
84-
85-
ProtocolUpgradeVotingSchedule::new_from_env_or_schedule(PROTOCOL_VERSION, vec![]).unwrap()
76+
let protocol_version = 73;
77+
// Sunday
78+
let datetime =
79+
ProtocolUpgradeVotingSchedule::parse_datetime("2024-11-24 15:00:00").unwrap();
80+
let schedule = vec![(datetime, protocol_version)];
81+
ProtocolUpgradeVotingSchedule::new_from_env_or_schedule(PROTOCOL_VERSION, schedule).unwrap()
8682
});
8783

8884
/// Gives new clients an option to upgrade without announcing that they support

0 commit comments

Comments
 (0)