Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Zebra (v2.0.0-rc.0) #8927

Merged
merged 7 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/scripts/release-crates-dry-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ fi
# We use the same commands as the [release drafter](https://github.com/ZcashFoundation/zebra/blob/main/.github/PULL_REQUEST_TEMPLATE/release-checklist.md#update-crate-versions)
# with an extra `--no-confirm` argument for non-interactive testing.
# Update everything except for alpha crates and zebrad:
cargo release version --verbose --execute --no-confirm --allow-branch '*' --workspace --exclude zebrad --exclude zebra-scan --exclude zebra-grpc beta
cargo release version --verbose --execute --no-confirm --allow-branch '*' --workspace --exclude zebrad --exclude zebra-scan --exclude zebra-grpc patch

# Due to a bug in cargo-release, we need to pass exact versions for alpha crates:
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-scan 0.1.0-alpha.8
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-grpc 0.1.0-alpha.6
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-scan 0.1.0-alpha.9
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-grpc 0.1.0-alpha.7

# Update zebrad:
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebrad patch
# TODO: Revert `2.0.0-rc.0` to `patch` in the next release candidate.
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebrad 2.0.0-rc.0
# Continue with the release process:
cargo release replace --verbose --execute --no-confirm --allow-branch '*' --package zebrad
cargo release commit --verbose --execute --no-confirm --allow-branch '*'
Expand Down
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,42 @@ 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 2.0.0-rc.0](https://github.com/ZcashFoundation/zebra/releases/tag/v2.0.0-rc.0) - 2024-10-11

This version is a release candidate for the Zcash NU6 network upgrade on the Mainnet. While this version does not yet include the NU6 Mainnet activation height or current protocol version, all required functionality and tests are in place.

Please note that support for this release candidate is expected to conclude prior to the NU6 activation heights.

### Security

- Added Docker Scout vulnerabilities scanning ([#8871](https://github.com/ZcashFoundation/zebra/pull/8871))

### Added

- Added Regtest-only `generate` and `stop` RPC methods ([#8849](https://github.com/ZcashFoundation/zebra/pull/8849), [#8839](https://github.com/ZcashFoundation/zebra/pull/8839), [#8863](https://github.com/ZcashFoundation/zebra/pull/8863))
- Added fields to `getmininginfo` RPC method response ([#8860](https://github.com/ZcashFoundation/zebra/pull/8860))
- Copied the Python RPC test framework from zcashd into Zebra ([#8866](https://github.com/ZcashFoundation/zebra/pull/8866))

### Changed

- Regtest halving interval to match zcashd and added a configurable halving interval for custom testnets ([#8888](https://github.com/ZcashFoundation/zebra/pull/8888), [#8928](https://github.com/ZcashFoundation/zebra/pull/8928))
- Updates post-NU6 Major Grants funding stream address on Mainnet ([#8914](https://github.com/ZcashFoundation/zebra/pull/8914))

### Fixed

- Remove debugging output by default in Docker image ([#8870](https://github.com/ZcashFoundation/zebra/pull/8870))
- Fixes a typo in configuration file path of the docker-compose file ([#8893](https://github.com/ZcashFoundation/zebra/pull/8893))
- Return verification errors from `sendrawtransaction` RPC method ([#8788](https://github.com/ZcashFoundation/zebra/pull/8788))
- Respond to getheaders requests with a maximum of 160 block headers ([#8913](https://github.com/ZcashFoundation/zebra/pull/8913))
- Avoids panicking during contextual validation when a parent block is missing ([#8883](https://github.com/ZcashFoundation/zebra/pull/8883))
- Write database format version to disk atomically to avoid a rare panic ([#8795](https://github.com/ZcashFoundation/zebra/pull/8795))

### Contributors

Thank you to everyone who contributed to this release, we couldn't make Zebra without you:
@arya2, @dismad, @gustavovalverde, @oxarbitrage, @skyl and @upbqdn


## [Zebra 1.9.0](https://github.com/ZcashFoundation/zebra/releases/tag/v1.9.0) - 2024-08-02

This release includes deployment of NU6 on Testnet, configurable funding streams on custom Testnets, and updates Zebra's end-of-support (EoS)
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4734,7 +4734,7 @@ dependencies = [

[[package]]
name = "tower-batch-control"
version = "0.2.41-beta.15"
version = "0.2.41-beta.16"
dependencies = [
"color-eyre",
"ed25519-zebra",
Expand All @@ -4757,7 +4757,7 @@ dependencies = [

[[package]]
name = "tower-fallback"
version = "0.2.41-beta.15"
version = "0.2.41-beta.16"
dependencies = [
"futures-core",
"pin-project",
Expand Down Expand Up @@ -5881,7 +5881,7 @@ dependencies = [

[[package]]
name = "zebra-chain"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
dependencies = [
"bitflags 2.6.0",
"bitflags-serde-legacy",
Expand Down Expand Up @@ -5946,7 +5946,7 @@ dependencies = [

[[package]]
name = "zebra-consensus"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
dependencies = [
"bellman",
"blake2b_simd",
Expand Down Expand Up @@ -5992,7 +5992,7 @@ dependencies = [

[[package]]
name = "zebra-grpc"
version = "0.1.0-alpha.6"
version = "0.1.0-alpha.7"
dependencies = [
"color-eyre",
"futures-util",
Expand All @@ -6014,7 +6014,7 @@ dependencies = [

[[package]]
name = "zebra-network"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
dependencies = [
"bitflags 2.6.0",
"byteorder",
Expand Down Expand Up @@ -6055,7 +6055,7 @@ dependencies = [

[[package]]
name = "zebra-node-services"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
dependencies = [
"color-eyre",
"jsonrpc-core",
Expand All @@ -6068,7 +6068,7 @@ dependencies = [

[[package]]
name = "zebra-rpc"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
dependencies = [
"chrono",
"futures",
Expand Down Expand Up @@ -6105,7 +6105,7 @@ dependencies = [

[[package]]
name = "zebra-scan"
version = "0.1.0-alpha.8"
version = "0.1.0-alpha.9"
dependencies = [
"bls12_381",
"chrono",
Expand Down Expand Up @@ -6151,7 +6151,7 @@ dependencies = [

[[package]]
name = "zebra-script"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
dependencies = [
"hex",
"lazy_static",
Expand All @@ -6163,7 +6163,7 @@ dependencies = [

[[package]]
name = "zebra-state"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
dependencies = [
"bincode",
"chrono",
Expand Down Expand Up @@ -6208,7 +6208,7 @@ dependencies = [

[[package]]
name = "zebra-test"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
dependencies = [
"color-eyre",
"futures",
Expand Down Expand Up @@ -6236,7 +6236,7 @@ dependencies = [

[[package]]
name = "zebra-utils"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
dependencies = [
"color-eyre",
"hex",
Expand Down Expand Up @@ -6267,7 +6267,7 @@ dependencies = [

[[package]]
name = "zebrad"
version = "1.9.0"
version = "2.0.0-rc.0"
dependencies = [
"abscissa_core",
"atty",
Expand Down
6 changes: 3 additions & 3 deletions tower-batch-control/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tower-batch-control"
version = "0.2.41-beta.15"
version = "0.2.41-beta.16"
authors = ["Zcash Foundation <[email protected]>", "Tower Maintainers <[email protected]>"]
description = "Tower middleware for batch request processing"
# # Legal
Expand Down Expand Up @@ -43,10 +43,10 @@ rand = "0.8.5"

tokio = { version = "1.40.0", features = ["full", "tracing", "test-util"] }
tokio-test = "0.4.4"
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.15" }
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.16" }
tower-test = "0.4.0"

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.39" }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.40" }

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
4 changes: 2 additions & 2 deletions tower-fallback/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tower-fallback"
version = "0.2.41-beta.15"
version = "0.2.41-beta.16"
authors = ["Zcash Foundation <[email protected]>"]
description = "A Tower service combinator that sends requests to a first service, then retries processing on a second fallback service if the first service errors."
license = "MIT OR Apache-2.0"
Expand All @@ -24,4 +24,4 @@ tracing = "0.1.39"
[dev-dependencies]
tokio = { version = "1.40.0", features = ["full", "tracing", "test-util"] }

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.39" }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.40" }
6 changes: 3 additions & 3 deletions zebra-chain/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-chain"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
authors = ["Zcash Foundation <[email protected]>"]
description = "Core Zcash data structures"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -145,7 +145,7 @@ proptest-derive = { version = "0.5.0", optional = true }
rand = { version = "0.8.5", optional = true }
rand_chacha = { version = "0.3.1", optional = true }

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.39", optional = true }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.40", optional = true }

[dev-dependencies]
# Benchmarks
Expand All @@ -168,7 +168,7 @@ rand_chacha = "0.3.1"

tokio = { version = "1.40.0", features = ["full", "tracing", "test-util"] }

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.39" }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.40" }

[[bench]]
name = "block"
Expand Down
20 changes: 10 additions & 10 deletions zebra-consensus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-consensus"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
authors = ["Zcash Foundation <[email protected]>"]
description = "Implementation of Zcash consensus checks"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -63,13 +63,13 @@ orchard.workspace = true
zcash_proofs = { workspace = true, features = ["multicore" ] }
wagyu-zcash-parameters = "0.2.0"

tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.15" }
tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.15" }
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.16" }
tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.16" }

zebra-script = { path = "../zebra-script", version = "1.0.0-beta.39" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.39" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.39" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.39" }
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.40" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.40" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.40" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.40" }

# prod feature progress-bar
howudoin = { version = "0.1.2", optional = true }
Expand All @@ -94,6 +94,6 @@ tokio = { version = "1.40.0", features = ["full", "tracing", "test-util"] }
tracing-error = "0.2.0"
tracing-subscriber = "0.3.18"

zebra-state = { path = "../zebra-state", version = "1.0.0-beta.39", features = ["proptest-impl"] }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.39", features = ["proptest-impl"] }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.39" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.40", features = ["proptest-impl"] }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.40", features = ["proptest-impl"] }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.40" }
6 changes: 3 additions & 3 deletions zebra-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-grpc"
version = "0.1.0-alpha.6"
version = "0.1.0-alpha.7"
authors = ["Zcash Foundation <[email protected]>"]
description = "Zebra gRPC interface"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -28,8 +28,8 @@ color-eyre = "0.6.3"

zcash_primitives.workspace = true

zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.39", features = ["shielded-scan"] }
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.39" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.40", features = ["shielded-scan"] }
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.40" }

[build-dependencies]
tonic-build = "0.12.3"
Expand Down
4 changes: 2 additions & 2 deletions zebra-network/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-network"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
authors = ["Zcash Foundation <[email protected]>", "Tower Maintainers <[email protected]>"]
description = "Networking code for Zebra"
# # Legal
Expand Down Expand Up @@ -83,7 +83,7 @@ howudoin = { version = "0.1.2", optional = true }
proptest = { version = "1.4.0", optional = true }
proptest-derive = { version = "0.5.0", optional = true }

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.39", features = ["async-error"] }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.40", features = ["async-error"] }

[dev-dependencies]
proptest = "1.4.0"
Expand Down
4 changes: 2 additions & 2 deletions zebra-node-services/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-node-services"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
authors = ["Zcash Foundation <[email protected]>"]
description = "The interfaces of some Zebra node services"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -37,7 +37,7 @@ rpc-client = [
shielded-scan = []

[dependencies]
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.39" }
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.40" }

# Optional dependencies

Expand Down
24 changes: 12 additions & 12 deletions zebra-rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-rpc"
version = "1.0.0-beta.39"
version = "1.0.0-beta.40"
authors = ["Zcash Foundation <[email protected]>"]
description = "A Zebra JSON Remote Procedure Call (JSON-RPC) interface"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -100,16 +100,16 @@ zcash_address = { workspace = true, optional = true}
# Test-only feature proptest-impl
proptest = { version = "1.4.0", optional = true }

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.39", features = [
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.40", features = [
"json-conversion",
] }
zebra-consensus = { path = "../zebra-consensus", version = "1.0.0-beta.39" }
zebra-network = { path = "../zebra-network", version = "1.0.0-beta.39" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.39", features = [
zebra-consensus = { path = "../zebra-consensus", version = "1.0.0-beta.40" }
zebra-network = { path = "../zebra-network", version = "1.0.0-beta.40" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.40", features = [
"rpc-client",
] }
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.39" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.39" }
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.40" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.40" }

[build-dependencies]
tonic-build = { version = "0.12.3", optional = true }
Expand All @@ -122,17 +122,17 @@ proptest = "1.4.0"
thiserror = "1.0.64"
tokio = { version = "1.40.0", features = ["full", "tracing", "test-util"] }

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.39", features = [
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.40", features = [
"proptest-impl",
] }
zebra-consensus = { path = "../zebra-consensus", version = "1.0.0-beta.39", features = [
zebra-consensus = { path = "../zebra-consensus", version = "1.0.0-beta.40", features = [
"proptest-impl",
] }
zebra-network = { path = "../zebra-network", version = "1.0.0-beta.39", features = [
zebra-network = { path = "../zebra-network", version = "1.0.0-beta.40", features = [
"proptest-impl",
] }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.39", features = [
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.40", features = [
"proptest-impl",
] }

zebra-test = { path = "../zebra-test", version = "1.0.0-beta.39" }
zebra-test = { path = "../zebra-test", version = "1.0.0-beta.40" }
Loading
Loading