Skip to content

Commit

Permalink
change(release): Reduce the end of support time from 20 weeks to 16 w…
Browse files Browse the repository at this point in the history
…eeks (#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 <[email protected]>

---------

Co-authored-by: Alfredo Garcia <[email protected]>
  • Loading branch information
arya2 and oxarbitrage authored May 15, 2024
1 parent e8a1b17 commit 0f5450f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion book/src/dev/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions zebrad/src/components/sync/end_of_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0f5450f

Please sign in to comment.