Loading
Update zebra to v4.3.1 (drop Maya fork)
Summary
- Switch mocknet and e2e docker-compose files from the legacy
registry.gitlab.com/mayachain/devops/node-launcher@sha256:90dfd443b552…image (stock upstream zebra 3.1.0) to the officialzfnd/zebra:4.3.1image. - Picks up the 4 security fixes disclosed 2026-04-17: https://forum.zcashcommunity.com/t/zebra-4-3-1-critical-security-fixes-dockerized-mining-and-ci-hardening/55389
- Aligns dev/test with the node-launcher Helm chart bump in !417.
Regtest config change
Upstream zebra 4.x enforces ZIP-271 at the NU6.1 activation block: the block must contain coinbase outputs matching a declared lockbox_disbursements entry, funded from the NU6 deferred (lockbox) pool. Regtest configs previously relied on zebra 3.1.0 silently accepting an empty disbursement list. The fix, per @zlyzol's review note:
[[network.testnet_parameters.funding_streams]]
[network.testnet_parameters.funding_streams.height_range]
start = 3
end = 4
[[network.testnet_parameters.funding_streams.recipients]]
receiver = "Deferred"
numerator = 12
addresses = []
[[network.testnet_parameters.lockbox_disbursements]]
address = "t26ovBdKAJLtrvBsE2QGF4nqBkEuptuPFZz"
amount = 75000000A one-block NU6 Deferred funding stream (12/100 of the block 3 subsidy = 75_000_000 zatoshi) fills the pool, and the matching disbursement drains it at NU6.1 activation.
Files touched
build/docker/docker-compose.yml— mocknet zebra servicebuild/docker/mocknet/zec/start-zebra.sh— zebrad.toml templatechain/zec/go/docker-compose.yml— Go e2e regtestchain/zec/go/docker-regtest-setup.sh— zebrad.toml templatechain/zec/js/docker-compose.yml— JS e2e regtestchain/zec/js/regtest-setup.sh— zebrad.toml templatedocs/chains/zcash.md— deployment docs
Verification
- Locally confirmed
zfnd/zebra:4.3.1+ the new config mines past NU6.1: chaintip0x4dec4df0(NU6.1) at block 160, all prior upgrades active, "Regtest setup complete!" printed. - Also confirmed no
chain/zecchanges are required: the Rust lib'sBranchId::for_heightand the JS0x4dec4df0constant now match a real NU6.1-active chain.
Coordinates with
- Production zebra 4.3.1 bump: node-launcher MR !417.
Follow-up (orthogonal)
- Delete
ci/images/zebra-daemon/Dockerfile+versionin node-launcher (orphaned fork build, no longer referenced since MR !403 (merged)).
Edited by Itzamna