From 0f5450f5650102aea1fff43ec88c065ef1976e79 Mon Sep 17 00:00:00 2001 From: Arya Date: Wed, 15 May 2024 17:12:52 -0400 Subject: [PATCH] change(release): Reduce the end of support time from 20 weeks to 16 weeks (#8530) * Reduce the end of support time from 20 weeks to 16 weeks. * Update release-process section of the book * Adds changelog entry * Update CHANGELOG.md Co-authored-by: Alfredo Garcia --------- Co-authored-by: Alfredo Garcia --- CHANGELOG.md | 7 +++++++ book/src/dev/release-process.md | 2 +- zebrad/src/components/sync/end_of_support.rs | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 989ff3621..ecf031ee3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to Zebra are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org). +## Zebra 1.X.X - XXXX-XX-XX + +### Changed + +- We realized that a longer than `zcashd` end of support could be problematic in some cases so we reverted back from 20 to 16 weeks ([#8530](https://github.com/ZcashFoundation/zebra/pull/8530)) + + ## [Zebra 1.7.0](https://github.com/ZcashFoundation/zebra/releases/tag/v1.7.0) - 2024-05-07 In this release we introduce Regtest functionality to Zebra and restored Windows support. Also adjusted our Zebra release interval from 2 weeks to 6 weeks approximately. diff --git a/book/src/dev/release-process.md b/book/src/dev/release-process.md index 88470f9fc..606e9a036 100644 --- a/book/src/dev/release-process.md +++ b/book/src/dev/release-process.md @@ -33,7 +33,7 @@ The pre-release version is denoted by appending a hyphen and a series of dot sep ### Supported Releases -Every Zebra version released by the Zcash Foundation is supported up to a specific height. Currently we support each version for about **20 weeks** but this can change from release to release. +Every Zebra version released by the Zcash Foundation is supported up to a specific height. Currently we support each version for about **16 weeks** but this can change from release to release. When the Zcash chain reaches this end of support height, `zebrad` will shut down and the binary will refuse to start. diff --git a/zebrad/src/components/sync/end_of_support.rs b/zebrad/src/components/sync/end_of_support.rs index cc006cfc1..cedcce0e8 100644 --- a/zebrad/src/components/sync/end_of_support.rs +++ b/zebrad/src/components/sync/end_of_support.rs @@ -22,8 +22,8 @@ pub const ESTIMATED_RELEASE_HEIGHT: u32 = 2_496_122; /// /// - Zebra will exit with a panic if the current tip height is bigger than the `ESTIMATED_RELEASE_HEIGHT` /// plus this number of days. -/// - Currently set to 20 weeks. -pub const EOS_PANIC_AFTER: u32 = 140; +/// - Currently set to 16 weeks. +pub const EOS_PANIC_AFTER: u32 = 112; /// The number of days before the end of support where Zebra will display warnings. pub const EOS_WARN_AFTER: u32 = EOS_PANIC_AFTER - 14;