Skip to content

Commit 6d01f05

Browse files
oxarbitragearya2conradoplg
authored
chore(release): Zebra release v2.2.0 (#9195)
* add changelog section for 2.2.0 * chore: Release * update end of support * Apply suggestions from code review Co-authored-by: Arya <aryasolhi@gmail.com> * Update CHANGELOG.md Co-authored-by: Conrado Gouvea <conrado@zfnd.org> --------- Co-authored-by: Arya <aryasolhi@gmail.com> Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
1 parent 6f24c9c commit 6d01f05

File tree

19 files changed

+126
-93
lines changed

19 files changed

+126
-93
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,39 @@ All notable changes to Zebra are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org).
77

8+
## [Zebra 2.2.0](https://github.com/ZcashFoundation/zebra/releases/tag/v2.2.0) - 2025-02-03
9+
10+
In this release, Zebra introduced an additional consensus check on the branch ID of Nu6 transactions
11+
(which is currently also checked elsewhere; but we believe it's important to check on its own to protect
12+
against future code changes), along with important refactors and improvements.
13+
14+
### Added
15+
16+
- An index to track spending transaction ids by spent outpoints and revealed nullifiers ([#8895](https://github.com/ZcashFoundation/zebra/pull/8895))
17+
- Accessor methods to `zebra-rpc` request/response types ([#9113](https://github.com/ZcashFoundation/zebra/pull/9113))
18+
- `getblock` RPC method now can return transaction details with verbosity=2 ([#9083](https://github.com/ZcashFoundation/zebra/pull/9083))
19+
- Serialized NU5 blocks to test vectors ([#9098](https://github.com/ZcashFoundation/zebra/pull/9098))
20+
21+
### Changed
22+
23+
- Migrated from deprecated `jsonrpc_*` crates to `jsonrpsee` ([#9059](https://github.com/ZcashFoundation/zebra/pull/9059), [#9151](https://github.com/ZcashFoundation/zebra/pull/9151))
24+
- Optimized checks for coinbase transactions ([#9126](https://github.com/ZcashFoundation/zebra/pull/9126))
25+
- Avoid re-verifying transactions in blocks if those transactions are in the mempool ([#8951](https://github.com/ZcashFoundation/zebra/pull/8951), [#9118](https://github.com/ZcashFoundation/zebra/pull/9118))
26+
- Allow transactions spending coinbase outputs to have transparent outputs on Regtest ([#9085](https://github.com/ZcashFoundation/zebra/pull/9085))
27+
28+
### Fixed
29+
30+
- Respond to getblockchaininfo with genesis block when empty state ([#9138](https://github.com/ZcashFoundation/zebra/pull/9138))
31+
- Verify consensus branch ID in SIGHASH precomputation ([#9139](https://github.com/ZcashFoundation/zebra/pull/9139))
32+
- More closely match zcashd RPC errors and `getrawtransaction` RPC behaviour ([#9049](https://github.com/ZcashFoundation/zebra/pull/9049))
33+
- Fixes bugs in the lightwalletd integration tests ([#9052](https://github.com/ZcashFoundation/zebra/pull/9052))
34+
35+
### Contributors
36+
37+
Thank you to everyone who contributed to this release, we couldn't make Zebra without you:
38+
@Fallengirl, @arya2, @conradoplg, @elijahhampton, @futreall, @gustavovalverde, @idky137, @mpguerra, @oxarbitrage, @rex4539, @rootdiae, @sandakersmann and @upbqdn
39+
40+
841
## [Zebra 2.1.0](https://github.com/ZcashFoundation/zebra/releases/tag/v2.1.0) - 2024-12-06
942

1043
This release adds a check to verify that V5 transactions in the mempool have the correct consensus branch ID;

Cargo.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4888,7 +4888,7 @@ dependencies = [
48884888

48894889
[[package]]
48904890
name = "tower-batch-control"
4891-
version = "0.2.41-beta.20"
4891+
version = "0.2.41-beta.21"
48924892
dependencies = [
48934893
"color-eyre",
48944894
"ed25519-zebra",
@@ -4911,7 +4911,7 @@ dependencies = [
49114911

49124912
[[package]]
49134913
name = "tower-fallback"
4914-
version = "0.2.41-beta.20"
4914+
version = "0.2.41-beta.21"
49154915
dependencies = [
49164916
"futures-core",
49174917
"pin-project",
@@ -5969,7 +5969,7 @@ dependencies = [
59695969

59705970
[[package]]
59715971
name = "zebra-chain"
5972-
version = "1.0.0-beta.44"
5972+
version = "1.0.0-beta.45"
59735973
dependencies = [
59745974
"bitflags 2.8.0",
59755975
"bitflags-serde-legacy",
@@ -6034,7 +6034,7 @@ dependencies = [
60346034

60356035
[[package]]
60366036
name = "zebra-consensus"
6037-
version = "1.0.0-beta.44"
6037+
version = "1.0.0-beta.45"
60386038
dependencies = [
60396039
"bellman",
60406040
"blake2b_simd",
@@ -6080,7 +6080,7 @@ dependencies = [
60806080

60816081
[[package]]
60826082
name = "zebra-grpc"
6083-
version = "0.1.0-alpha.11"
6083+
version = "0.1.0-alpha.12"
60846084
dependencies = [
60856085
"color-eyre",
60866086
"futures-util",
@@ -6102,7 +6102,7 @@ dependencies = [
61026102

61036103
[[package]]
61046104
name = "zebra-network"
6105-
version = "1.0.0-beta.44"
6105+
version = "1.0.0-beta.45"
61066106
dependencies = [
61076107
"bitflags 2.8.0",
61086108
"byteorder",
@@ -6143,7 +6143,7 @@ dependencies = [
61436143

61446144
[[package]]
61456145
name = "zebra-node-services"
6146-
version = "1.0.0-beta.44"
6146+
version = "1.0.0-beta.45"
61476147
dependencies = [
61486148
"color-eyre",
61496149
"jsonrpsee-types",
@@ -6156,7 +6156,7 @@ dependencies = [
61566156

61576157
[[package]]
61586158
name = "zebra-rpc"
6159-
version = "1.0.0-beta.44"
6159+
version = "1.0.0-beta.45"
61606160
dependencies = [
61616161
"base64 0.22.1",
61626162
"chrono",
@@ -6197,7 +6197,7 @@ dependencies = [
61976197

61986198
[[package]]
61996199
name = "zebra-scan"
6200-
version = "0.1.0-alpha.13"
6200+
version = "0.1.0-alpha.14"
62016201
dependencies = [
62026202
"bls12_381",
62036203
"chrono",
@@ -6243,7 +6243,7 @@ dependencies = [
62436243

62446244
[[package]]
62456245
name = "zebra-script"
6246-
version = "1.0.0-beta.44"
6246+
version = "1.0.0-beta.45"
62476247
dependencies = [
62486248
"hex",
62496249
"lazy_static",
@@ -6255,7 +6255,7 @@ dependencies = [
62556255

62566256
[[package]]
62576257
name = "zebra-state"
6258-
version = "1.0.0-beta.44"
6258+
version = "1.0.0-beta.45"
62596259
dependencies = [
62606260
"bincode",
62616261
"chrono",
@@ -6301,7 +6301,7 @@ dependencies = [
63016301

63026302
[[package]]
63036303
name = "zebra-test"
6304-
version = "1.0.0-beta.44"
6304+
version = "1.0.0-beta.45"
63056305
dependencies = [
63066306
"color-eyre",
63076307
"futures",
@@ -6329,7 +6329,7 @@ dependencies = [
63296329

63306330
[[package]]
63316331
name = "zebra-utils"
6332-
version = "1.0.0-beta.44"
6332+
version = "1.0.0-beta.45"
63336333
dependencies = [
63346334
"color-eyre",
63356335
"hex",
@@ -6360,7 +6360,7 @@ dependencies = [
63606360

63616361
[[package]]
63626362
name = "zebrad"
6363-
version = "2.1.1"
6363+
version = "2.2.0"
63646364
dependencies = [
63656365
"abscissa_core",
63666366
"atty",

book/src/user/docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ docker run -d --platform linux/amd64 \
3737
### Build it locally
3838

3939
```shell
40-
git clone --depth 1 --branch v2.1.1 https://github.com/ZcashFoundation/zebra.git
40+
git clone --depth 1 --branch v2.2.0 https://github.com/ZcashFoundation/zebra.git
4141
docker build --file docker/Dockerfile --target runtime --tag zebra:local .
4242
docker run --detach zebra:local
4343
```

book/src/user/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ To compile Zebra directly from GitHub, or from a GitHub release source archive:
7676
```sh
7777
git clone https://github.com/ZcashFoundation/zebra.git
7878
cd zebra
79-
git checkout v2.1.1
79+
git checkout v2.2.0
8080
```
8181

8282
3. Build and Run `zebrad`
@@ -89,7 +89,7 @@ target/release/zebrad start
8989
### Compiling from git using cargo install
9090

9191
```sh
92-
cargo install --git https://github.com/ZcashFoundation/zebra --tag v2.1.1 zebrad
92+
cargo install --git https://github.com/ZcashFoundation/zebra --tag v2.2.0 zebrad
9393
```
9494

9595
### Compiling on ARM

tower-batch-control/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tower-batch-control"
3-
version = "0.2.41-beta.20"
3+
version = "0.2.41-beta.21"
44
authors = ["Zcash Foundation <zebra@zfnd.org>", "Tower Maintainers <team@tower-rs.com>"]
55
description = "Tower middleware for batch request processing"
66
# # Legal
@@ -43,10 +43,10 @@ rand = { workspace = true }
4343

4444
tokio = { workspace = true, features = ["full", "tracing", "test-util"] }
4545
tokio-test = { workspace = true }
46-
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.20" }
46+
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.21" }
4747
tower-test = { workspace = true }
4848

49-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.44" }
49+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.45" }
5050

5151
[lints.rust]
5252
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }

tower-fallback/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tower-fallback"
3-
version = "0.2.41-beta.20"
3+
version = "0.2.41-beta.21"
44
authors = ["Zcash Foundation <zebra@zfnd.org>"]
55
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."
66
license = "MIT OR Apache-2.0"
@@ -24,4 +24,4 @@ tracing = { workspace = true }
2424
[dev-dependencies]
2525
tokio = { workspace = true, features = ["full", "tracing", "test-util"] }
2626

27-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.44" }
27+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.45" }

zebra-chain/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zebra-chain"
3-
version = "1.0.0-beta.44"
3+
version = "1.0.0-beta.45"
44
authors = ["Zcash Foundation <zebra@zfnd.org>"]
55
description = "Core Zcash data structures"
66
license = "MIT OR Apache-2.0"
@@ -145,7 +145,7 @@ proptest-derive = { workspace = true, optional = true }
145145
rand = { workspace = true, optional = true }
146146
rand_chacha = { workspace = true, optional = true }
147147

148-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.44", optional = true }
148+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.45", optional = true }
149149

150150
[dev-dependencies]
151151
# Benchmarks
@@ -168,7 +168,7 @@ rand_chacha = { workspace = true }
168168

169169
tokio = { workspace = true, features = ["full", "tracing", "test-util"] }
170170

171-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.44" }
171+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.45" }
172172

173173
[[bench]]
174174
name = "block"

zebra-consensus/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zebra-consensus"
3-
version = "1.0.0-beta.44"
3+
version = "1.0.0-beta.45"
44
authors = ["Zcash Foundation <zebra@zfnd.org>"]
55
description = "Implementation of Zcash consensus checks"
66
license = "MIT OR Apache-2.0"
@@ -63,13 +63,13 @@ orchard.workspace = true
6363
zcash_proofs = { workspace = true, features = ["multicore" ] }
6464
wagyu-zcash-parameters = { workspace = true }
6565

66-
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.20" }
67-
tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.20" }
66+
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.21" }
67+
tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.21" }
6868

69-
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.44" }
70-
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.44" }
71-
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.44" }
72-
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.44" }
69+
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.45" }
70+
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.45" }
71+
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.45" }
72+
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.45" }
7373

7474
# prod feature progress-bar
7575
howudoin = { workspace = true, optional = true }
@@ -94,6 +94,6 @@ tokio = { workspace = true, features = ["full", "tracing", "test-util"] }
9494
tracing-error = { workspace = true }
9595
tracing-subscriber = { workspace = true }
9696

97-
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.44", features = ["proptest-impl"] }
98-
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.44", features = ["proptest-impl"] }
99-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.44" }
97+
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.45", features = ["proptest-impl"] }
98+
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.45", features = ["proptest-impl"] }
99+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.45" }

zebra-grpc/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zebra-grpc"
3-
version = "0.1.0-alpha.11"
3+
version = "0.1.0-alpha.12"
44
authors = ["Zcash Foundation <zebra@zfnd.org>"]
55
description = "Zebra gRPC interface"
66
license = "MIT OR Apache-2.0"
@@ -28,8 +28,8 @@ color-eyre = { workspace = true }
2828

2929
zcash_primitives.workspace = true
3030

31-
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.44", features = ["shielded-scan"] }
32-
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.44" }
31+
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.45", features = ["shielded-scan"] }
32+
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.45" }
3333

3434
[build-dependencies]
3535
tonic-build = { workspace = true }

zebra-network/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zebra-network"
3-
version = "1.0.0-beta.44"
3+
version = "1.0.0-beta.45"
44
authors = ["Zcash Foundation <zebra@zfnd.org>", "Tower Maintainers <team@tower-rs.com>"]
55
description = "Networking code for Zebra"
66
# # Legal
@@ -83,7 +83,7 @@ howudoin = { workspace = true, optional = true }
8383
proptest = { workspace = true, optional = true }
8484
proptest-derive = { workspace = true, optional = true }
8585

86-
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.44", features = ["async-error"] }
86+
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.45", features = ["async-error"] }
8787

8888
[dev-dependencies]
8989
proptest = { workspace = true }

0 commit comments

Comments
 (0)