From ca1d2de87de9ff816b1248106ce92980b0a746fa Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Mon, 22 Mar 2021 22:05:01 -0400 Subject: [PATCH] Bump versions for v1.0.0-alpha.5 (#1932) Zebra's latest alpha checkpoints on Canopy activation, continues our work on NU5, and fixes a security issue. Some notable changes include: ## Added - Log address book metrics when PeerSet or CandidateSet don't have many peers (#1906) - Document test coverage workflow (#1919) - Add a final job to CI, so we can easily require all the CI jobs to pass (#1927) ## Changed - Zebra has moved its mandatory checkpoint from Sapling to Canopy (#1898, #1926) - This is a breaking change for users that depend on the exact height of the mandatory checkpoint. ## Fixed - tower-batch: wake waiting workers on close to avoid hangs (#1908) - Assert that pre-Canopy blocks use checkpointing (#1909) - Fix CI disk space usage by disabling incremental compilation in coverage builds (#1923) ## Security - Stop relying on unchecked length fields when preallocating vectors (#1925) --- Cargo.lock | 16 ++++++++-------- README.md | 4 ++-- tower-batch/Cargo.toml | 2 +- tower-fallback/Cargo.toml | 2 +- zebra-chain/Cargo.toml | 2 +- zebra-consensus/Cargo.toml | 2 +- zebra-network/Cargo.toml | 2 +- zebra-network/src/constants.rs | 2 +- zebra-script/Cargo.toml | 2 +- zebra-state/Cargo.toml | 2 +- zebra-test/Cargo.toml | 2 +- zebra-utils/Cargo.toml | 2 +- zebrad/Cargo.toml | 2 +- zebrad/src/components/tracing/component.rs | 2 +- 14 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fd97da10b..7e7e00fa9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3434,7 +3434,7 @@ dependencies = [ [[package]] name = "tower-batch" -version = "0.2.2" +version = "0.2.3" dependencies = [ "color-eyre", "ed25519-zebra", @@ -4031,7 +4031,7 @@ dependencies = [ [[package]] name = "zebra-chain" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" dependencies = [ "bech32", "bincode", @@ -4073,7 +4073,7 @@ version = "1.0.0-alpha.0" [[package]] name = "zebra-consensus" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" dependencies = [ "bellman", "bls12_381 0.3.1", @@ -4107,7 +4107,7 @@ dependencies = [ [[package]] name = "zebra-network" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" dependencies = [ "bitflags", "byteorder", @@ -4141,7 +4141,7 @@ version = "1.0.0-alpha.0" [[package]] name = "zebra-script" -version = "1.0.0-alpha.5" +version = "1.0.0-alpha.6" dependencies = [ "displaydoc", "hex", @@ -4154,7 +4154,7 @@ dependencies = [ [[package]] name = "zebra-state" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" dependencies = [ "chrono", "color-eyre", @@ -4184,7 +4184,7 @@ dependencies = [ [[package]] name = "zebra-test" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" dependencies = [ "color-eyre", "futures 0.3.13", @@ -4221,7 +4221,7 @@ dependencies = [ [[package]] name = "zebrad" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" dependencies = [ "abscissa_core", "atty", diff --git a/README.md b/README.md index b71b5ceb1..9e9c8606b 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,12 @@ Building `zebrad` requires [Rust](https://www.rust-lang.org/tools/install), #### Detailed Build and Run Instructions -1. Install [`cargo` and `rustc`](https://www.rust-lang.org/tools/install). +1. Install [`cargo` and `rustc`](https://www.rust-lang.org/tools/install). - Using `rustup` installs the stable Rust toolchain, which `zebrad` targets. 2. Install Zebra's build dependencies: - **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager - **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC` -3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-alpha.4 zebrad` +3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-alpha.5 zebrad` 4. Run `zebrad start` If you're interested in testing out `zebrad` please feel free, but keep in mind diff --git a/tower-batch/Cargo.toml b/tower-batch/Cargo.toml index 10496e01c..028de5622 100644 --- a/tower-batch/Cargo.toml +++ b/tower-batch/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tower-batch" -version = "0.2.2" +version = "0.2.3" authors = ["Zcash Foundation "] license = "MIT" edition = "2018" diff --git a/tower-fallback/Cargo.toml b/tower-fallback/Cargo.toml index f171bb34e..737bd238f 100644 --- a/tower-fallback/Cargo.toml +++ b/tower-fallback/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tower-fallback" -version = "0.2.1" +version = "0.2.2" authors = ["Zcash Foundation "] license = "MIT" edition = "2018" diff --git a/zebra-chain/Cargo.toml b/zebra-chain/Cargo.toml index 2cb16090f..29bd4d6b5 100644 --- a/zebra-chain/Cargo.toml +++ b/zebra-chain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-chain" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-consensus/Cargo.toml b/zebra-consensus/Cargo.toml index d186bb2f6..c4e766962 100644 --- a/zebra-consensus/Cargo.toml +++ b/zebra-consensus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-consensus" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-network/Cargo.toml b/zebra-network/Cargo.toml index f92e92be1..80bce24b5 100644 --- a/zebra-network/Cargo.toml +++ b/zebra-network/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-network" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-network/src/constants.rs b/zebra-network/src/constants.rs index f373a5211..0ca4b74bf 100644 --- a/zebra-network/src/constants.rs +++ b/zebra-network/src/constants.rs @@ -61,7 +61,7 @@ pub const TIMESTAMP_TRUNCATION_SECONDS: i64 = 30 * 60; /// /// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki // XXX can we generate this from crate metadata? -pub const USER_AGENT: &str = "/🦓Zebra🦓:1.0.0-alpha.4/"; +pub const USER_AGENT: &str = "/🦓Zebra🦓:1.0.0-alpha.5/"; /// The Zcash network protocol version implemented by this crate, and advertised /// during connection setup. diff --git a/zebra-script/Cargo.toml b/zebra-script/Cargo.toml index e8a88e3f7..3e36008fd 100644 --- a/zebra-script/Cargo.toml +++ b/zebra-script/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-script" -version = "1.0.0-alpha.5" +version = "1.0.0-alpha.6" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-state/Cargo.toml b/zebra-state/Cargo.toml index d4542be5d..e8b3b5d20 100644 --- a/zebra-state/Cargo.toml +++ b/zebra-state/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-state" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-test/Cargo.toml b/zebra-test/Cargo.toml index 30553f5a2..46ece1edc 100644 --- a/zebra-test/Cargo.toml +++ b/zebra-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-test" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-utils/Cargo.toml b/zebra-utils/Cargo.toml index 80f59a438..0fd994f60 100644 --- a/zebra-utils/Cargo.toml +++ b/zebra-utils/Cargo.toml @@ -2,7 +2,7 @@ name = "zebra-utils" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" edition = "2018" # Prevent accidental publication of this utility crate. publish = false diff --git a/zebrad/Cargo.toml b/zebrad/Cargo.toml index 619dd89d1..5dd9be126 100644 --- a/zebrad/Cargo.toml +++ b/zebrad/Cargo.toml @@ -2,7 +2,7 @@ name = "zebrad" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" -version = "1.0.0-alpha.4" +version = "1.0.0-alpha.5" edition = "2018" repository = "https://github.com/ZcashFoundation/zebra" # make `cargo run` use `zebrad` by default diff --git a/zebrad/src/components/tracing/component.rs b/zebrad/src/components/tracing/component.rs index d73aa55c9..7afb444b1 100644 --- a/zebrad/src/components/tracing/component.rs +++ b/zebrad/src/components/tracing/component.rs @@ -77,7 +77,7 @@ impl Component for Tracing { } fn version(&self) -> abscissa_core::Version { - abscissa_core::Version::parse("1.0.0-alpha.4").unwrap() + abscissa_core::Version::parse("1.0.0-alpha.5").unwrap() } fn before_shutdown(&self, _kind: Shutdown) -> Result<(), FrameworkError> {