Skip to content

Releases: prysmaticlabs/prysm

v4.0.1

28 Mar 16:12
191e603
Compare
Choose a tag to compare

This is a reissuance of v4.0.0 release

This is exactly the same release as v4.0.0, but reissued to solve a checksum cache issue with golang.org's go get proxy server.
See #12201 for more details.

πŸ’‘ If you are using v4.0.0 then you do not need to upgrade.

v4.0.1

We are releasing v4.0.1 for the upcoming Capella/Shanghai ("Shapella") upgrade!

This release is mandatory for all mainnet Prsym beacon nodes and validators. The release enables Capella upgrade, scheduled on April 12, 2023, 10:27:35pm UTC and epoch 194048. Failure to upgrade will result in your node forking off the chain and the validator losing rewards and getting penalized for being offline.

To recap, you must upgrade your mainnet beacon node and validator client to v4.0.1 before April 12, 2023, 10:27:35pm UTC.

Please have a look below for the changes and detailed change lists.

⚠️Breaking changes

Below are the breaking changes from v3.2.2 to v4

Breaking changes: flags removed

  • http-web3provider
  • enable-db-backup-webhook
  • bolt-mmap-initial-size
  • disable-discv5
  • enable-reorg-late-blocks
  • disable-attesting-history-db-cache
  • enable-vectorized-htr
  • enable-peer-scorer
  • enable-forkchoice-doubly-linked-tree
  • enable-back-pull
  • enable-duty-count-down
  • head-sync
  • enable-gossip-batch-aggregation
  • enable-larger-gossip-history
  • fallback-web3provider
  • disable-native-state
  • enable-only-blinded-beacon-blocks
  • ropsten
  • interop-genesis-state
  • experimental-enable-boundary-checks
  • disable-back-pull
  • disable-forkchoice-doubly-linked-tree

Breaking changes: flags deprecated

  • disable-peer-scorer
  • disable-vectorized-htr
  • disable-gossip-batch-aggregation

πŸ“ All changes

Added

  • Config: set mainnet capella epoch #12144
  • Validator: enable proposer to reorg late block #12075 #121100
  • Metric: bls-to-exec count in the operation pool #12133 #12155
  • Metric: pubsub metrics racer #12178
  • Metric: add late block metric #12091
  • Engine-API: Implement GetPayloadBodies #11973
  • Beacon-API: Implement GetPayloadAttribute SSE #12102 #12154 #12160 #12169
  • Prysm CLI: add experimental flags to dev mode #12152
  • Prysmctl utility: add eth1data to genesis state #12125
  • Spec test: EIP4881 spec compliance tests #11754
  • Spec test: forkchoice lock to fix flaskyness #12165

Changed

  • Prysm: upgrade v3 to v4 #12134
  • Prysm: apply goimports to generated files #12170
  • Validator: lower builder circuit breaker thresholds to 5 missed slots per epoch and updates off by 1 #12076
  • Validator: reorg late block by default #12146 #12147
  • Forkchoice: cleanups #12078
  • Forkchoice: remove bouncing attack fix and strength equivocation discarding #12126
  • Forkchoice: call FCU at 4s mark if there's no new head #12159
  • Forkchoice: better locking on calls to retrieving ancestor root #12162
  • Forkchoice: stricker visibility for blockchain package access #12174
  • Block processing: optimizing validator balance retrieval by using epoch boundary cache #12083
  • Block processing: reduce FCU calls #12091
  • Block processing: increase attempted reorgs at the correct spot #12106
  • Block processing: remove duplicated bls to exec message pruning #12085
  • Block processing: skip hash tree root state when checking optimistic mode #12143
  • Prysm-API: mark GetChainHead deprecated #12128
  • Logging: add late block logs #12091
  • Logging: enhancements and clean ups #12086
  • Build: fix bazel remote cache upload #12108
  • Build: update cross compile toolchains #12069
  • Build: only build non-test targets in hack/update-go-pbs.sh #12101
  • Build: update rules_go to v0.38.1 and go_version to 1.19.7 #12055
  • Build: replace bazel pkg_tar rule with canonical @rules_pkg pkg_tar #12120
  • Build: update bazel to 6.1.0 #12121
  • Libp2p: updated to latest version #12096 #12132
  • Libp2p: make peer scorer permanent default #12138
  • Test: disable e2e slasher test #12150
  • CLI: derecate the following flags #12148 #12151

Fixed

  • Validator: startup deadline #12049
  • Prysmctl: withdrawals fork checking logic #12130
  • End-to-end test: fix flakes #12074
  • End-to-end test: fix altair transition #12124
  • Unit test: fix error message in #12123

Removed

V4.0.0

27 Mar 22:15
191e603
Compare
Choose a tag to compare

We are releasing v4.0.0 for the upcoming Capella/Shanghai ("Shapella") upgrade!

This release is mandatory for all mainnet Prsym beacon nodes and validators. The release enables Capella upgrade, scheduled on April 12, 2023, 10:27:35pm UTC and epoch 194048. Failure to upgrade will result in your node forking off the chain and the validator losing rewards and getting penalized for being offline.

To recap, you must upgrade your mainnet beacon node and validator client to v4.0.0 before April 12, 2023, 10:27:35pm UTC.

Please have a look below for the changes and detailed change lists.

⚠️Breaking changes

Below are the breaking changes from v3.2.2 to v4

Breaking changes: flags removed

  • http-web3provider
  • enable-db-backup-webhook
  • bolt-mmap-initial-size
  • disable-discv5
  • enable-reorg-late-blocks
  • disable-attesting-history-db-cache
  • enable-vectorized-htr
  • enable-peer-scorer
  • enable-forkchoice-doubly-linked-tree
  • enable-back-pull
  • enable-duty-count-down
  • head-sync
  • enable-gossip-batch-aggregation
  • enable-larger-gossip-history
  • fallback-web3provider
  • disable-native-state
  • enable-only-blinded-beacon-blocks
  • ropsten
  • interop-genesis-state
  • experimental-enable-boundary-checks
  • disable-back-pull
  • disable-forkchoice-doubly-linked-tree

Breaking changes: flags deprecated

  • disable-peer-scorer
  • disable-vectorized-htr
  • disable-gossip-batch-aggregation

πŸ“ All changes

Added

  • Config: set mainnet capella epoch #12144
  • Validator: enable proposer to reorg late block #12075 #121100
  • Metric: bls-to-exec count in the operation pool #12133 #12155
  • Metric: pubsub metrics racer #12178
  • Metric: add late block metric #12091
  • Engine-API: Implement GetPayloadBodies #11973
  • Beacon-API: Implement GetPayloadAttribute SSE #12102 #12154 #12160 #12169
  • Prysm CLI: add experimental flags to dev mode #12152
  • Prysmctl utility: add eth1data to genesis state #12125
  • Spec test: EIP4881 spec compliance tests #11754
  • Spec test: forkchoice lock to fix flaskyness #12165

Changed

  • Prysm: upgrade v3 to v4 #12134
  • Prysm: apply goimports to generated files #12170
  • Validator: lower builder circuit breaker thresholds to 5 missed slots per epoch and updates off by 1 #12076
  • Validator: reorg late block by default #12146 #12147
  • Forkchoice: cleanups #12078
  • Forkchoice: remove bouncing attack fix and strength equivocation discarding #12126
  • Forkchoice: call FCU at 4s mark if there's no new head #12159
  • Forkchoice: better locking on calls to retrieving ancestor root #12162
  • Forkchoice: stricker visibility for blockchain package access #12174
  • Block processing: optimizing validator balance retrieval by using epoch boundary cache #12083
  • Block processing: reduce FCU calls #12091
  • Block processing: increase attempted reorgs at the correct spot #12106
  • Block processing: remove duplicated bls to exec message pruning #12085
  • Block processing: skip hash tree root state when checking optimistic mode #12143
  • Prysm-API: mark GetChainHead deprecated #12128
  • Logging: add late block logs #12091
  • Logging: enhancements and clean ups #12086
  • Build: fix bazel remote cache upload #12108
  • Build: update cross compile toolchains #12069
  • Build: only build non-test targets in hack/update-go-pbs.sh #12101
  • Build: update rules_go to v0.38.1 and go_version to 1.19.7 #12055
  • Build: replace bazel pkg_tar rule with canonical @rules_pkg pkg_tar #12120
  • Build: update bazel to 6.1.0 #12121
  • Libp2p: updated to latest version #12096 #12132
  • Libp2p: make peer scorer permanent default #12138
  • Test: disable e2e slasher test #12150
  • CLI: derecate the following flags #12148 #12151

Fixed

  • Validator: startup deadline #12049
  • Prysmctl: withdrawals fork checking logic #12130
  • End-to-end test: fix flakes #12074
  • End-to-end test: fix altair transition #12124
  • Unit test: fix error message in #12123

Removed

v3.2.2

10 Mar 18:27
Compare
Choose a tag to compare

Gm! β˜€οΈ We are excited to announce our release for upgrading Goerli testnet to Shanghai / Capella! πŸš€

This release is MANDATORY for Goerli testnet. You must upgrade your Prysm beacon node and validator client to this release before Shapella hard fork time epoch=162304 or UTC=14/03/2023, 10:25:36 pm.

This release is a low-priority for the mainnet.
This release is the same commit as v3.2.2-rc.3. If you are already running v3.2.2-rc.3, then you do not need to update your client.

Change list

Added

  • Capella fork epoch #12073
  • Validator client REST implementation GetFeeRecipientByPubKey #11991
  • New end-to-end test for post-attester duties #11899

Changed

  • Storing blind beacon block by default for new Prysm Database #11591
  • Raise the max grpc message size to a very large value by default #12072
  • Update rules docker to v0.25.0 #12054
  • Update distroless base images #12061
  • Update protoc-gen-go-cast to suppress tool output #12062
  • Update deps for Capella #12067
  • Remove gRPC fallback client from validator REST API #12051
  • Prysmctl now verifies capella fork for bls to exec message change #12039
  • Core block processing cleanup #12046 #12068
  • Better locking design around forkchoice store #12036
  • Core process sync aggregate function returns reward amount #12047
  • Use Epoch boundary cache to retrieve balances #12083
  • Misc end-to-end test improvements and fixes #12059
  • Add slot number to proposal error log #12071

Removed

  • Remove Ropsten testnet config and feature flag #12058 #12082
  • Deprecate flag --interop-genesis-state #12008

v3.2.2-rc.3

08 Mar 18:49
Compare
Choose a tag to compare
v3.2.2-rc.3 Pre-release
Pre-release

Gm! β˜€οΈ We are excited to announce our release for upgrading Goerli testnet to Shanghai / Capella! πŸš€

This release is MANDATORY for Goerli testnet. You must upgrade your Prysm beacon node and validator client to this release before Shapella hard fork time epoch=162304 or UTC=14/03/2023, 10:25:36 pm.

This release is a low-priority for the mainnet.

Change list

Added

Capella fork epoch #12073
Validator client REST implementation GetFeeRecipientByPubKey #11991
New end-to-end test for post-attester duties #11899

Changed

Storing blind beacon block by default for new Prysm Database #11591
Raise the max grpc message size to a very large value by default #12072
Update rules docker to v0.25.0 #12054
Update distroless base images #12061
Update protoc-gen-go-cast to suppress tool output #12062
Update deps for Capella #12067
Remove gRPC fallback client from validator REST API #12051
Prysmctl now verifies capella fork for bls to exec message change #12039
Core block processing cleanup #12046 #12068
Better locking design around forkchoice store #12036
Core process sync aggregate function returns reward amount #12047
Use Epoch boundary cache to retrieve balances #12083
Misc end-to-end test improvements and fixes #12059
Add slot number to proposal error log #12071

Removed

Remove Ropsten testnet config and feature flag #12058 #12082
Deprecate flag --interop-genesis-state #12008

v3.2.2-rc.0

27 Feb 18:45
0e4185b
Compare
Choose a tag to compare
v3.2.2-rc.0 Pre-release
Pre-release

We are excited to announce a Sepolia Only Testnet release, v3.2.2-rc.0 πŸŽ‰

This is a Sepolia Only Testnet release. Please only upgrade your Sepolia beacon node and validator to this release before tomorrow's Shanghai Capella hard fork time 2/28/2023, 4:04:48 AM UTC. Please DO NOT use this release on Mainnet or any other testnets. Summary:

  • This is a mandatory release for Sepolia testnet
  • This is not recommended for everything else, including Mainnet and Goerli

Highlight: this release fixes the blind block processing bug when connecting with mev-boost to outsource block constructions and hardens the proposer routine when signing the builder's header.

Added

Validator: picks local vs. mev-boost block based on the highest value #11967
Validator: compare local vs. mev-boost withdrawal roots #11977 #12018
Validator: check unblinded payload root before broadcasting block #12026
Validator: beacon API REST implementations #11971 #11974 #11980
Forkchoice: reorg late block #11981 #12022 (Helpers only. The feature will be ready next release)
Web3Signer: capella support #12001
Metric: gauge for monitoring block arrival delay #11897
Test: capella end to end #11951 #11989 #11993 #12027

Changed

Validator: no longer checking signature when packing BLS changes #12021
Block processor: Prune attestations in mem pool only when head changes #11771
Block processor: state transition hardening #11962 #11968 #11975 #11964 #11992 #
Forkchoice: hardening and clean up #11945 #11961 #12010 #12040
Beacon API: cleanups #12030 #12029
Prysm API: marked old endpoints as deprecated #11997

Fixed

Validator: process blind withdrawal #11995
Validator: use mev-boost for first bellatrix block #12019
Sync: bandwidth limiter panic #11988
Beacon API: correct fork choice endpoint path #11986

Removed

WebUI endpoints #12025

v3.2.1

13 Feb 19:08
Compare
Choose a tag to compare

We are excited to announce the release of Prysm v3.2.1 πŸŽ‰

This is the first release to support Capella / Shanghai. The Sepolia testnet Capella upgrade time is currently set to 2/28/2023, 4:04:48 AM UTC. The Goerli testnet and Mainnet upgrade times are still yet to be determined. In Summary:

  • This is a mandatory upgrade for Sepolia nodes and validators
  • This is a recommended upgrade for Goerli and Mainnet nodes and validators

Known issues

  • mev-boost, relayer, and builder support for Capella upgrade are built in but still need to be tested. Given the lack of testing infrastructure, none of the clients could test this for withdrawals testnet. There may be hiccups when using mev-boost on the Capella upgraded testnets

Added

Changed

Fixed

  • Beacon API #11755 #11749 #11723 #11783
  • Use the correct attribute if there's a payload ID cache miss #11918
  • Call FCU with an attribute on non-head block #11919
  • Sparse merkle trie bug fix #11778
  • Waiting For Bandwidth Issue While Syncing #11853
  • State Fetcher to retrieve correct epoch #11820
  • Exit properly with terminal block hash #11892
  • PrepareBeaconProposer API duplicating validator indexes when not persisted in DB #11912
  • Multiclient end-to-end #11803
  • Deep source warnings #11814

Removed

  • Remove cache lookup and lock request for database boltdb transaction #11745

v3.2.0

16 Dec 14:31
3d6d0a1
Compare
Choose a tag to compare

v3.2.0

Happy New Year everyone! We are excited to announce the release of Prysm v3.2.0.

This release contains a number of great features and improvements as well as progress towards the upcoming Capella upgrade. This release also includes some API changes which are reflected in the minor version bump. If you are using mev-boost, you will need to update your prysm client to v3.2.0 before updating your mev-boost instance in the future. See flashbots/mev-boost#404 for more details.

Added

Changed

  • --chain-config-file now throws an error if used concurrently with --network flag. #10863
  • Added more histogram metrics for block arrival latency times block_arrival_latency_milliseconds #11589
  • Priority queue RetrieveByKey now uses read lock instead of write lock #11603
  • Use custom types for certain ethclient requests. Fixes an issue when using prysm on gnosis chain. #11586
  • Updted forkchoice endpoint /eth/v1/debug/forkchoice (was /eth/v1/debug/beacon/forkchoice) #11680
  • Include empty fields in builder json client. #11673
  • Computing committee assignments for slots older than the oldest historical root in the beacon state is now forbidden #11722

Removed

  • Deprecated protoarray tests have been removed #11607

Fixed

  • Unlock pending block queue if there is any error on inserting a block #11600
  • Prysmctl generate-genesis yaml file now uses the correct format #11635
  • ENR serialization now correctly serializes some inputs that did not work previously #11648
  • Use finalized block hash if a payload ID cache miss occurs #11653
  • prysm.sh now works correctly with Mac M1 chips (it downloads darwin-arm64 binaries) #11675
  • Use the correct block root for block events api #11666
  • Users running a VPN should be able to make p2p dials. #11599
  • Several minor typos and code cleanups #11572 #11594 #11593 #11598 #11602 #11622 #11705 #11670 #11711 #11726

Security

v3.1.2

27 Oct 20:17
648ab9f
Compare
Choose a tag to compare

v3.1.2

Welcome to another patch release for Prysm! This release includes a number of bug fixes and improvements to the beacon node, validator client, and prysmctl. We recommend upgrading to this release at your earliest convenience.

Added

  • Timestamp field to forkchoice node json responses #11394 #11403
  • Further tests to non-trivial functions of the builder service #11214
  • Support for VotedFraction in forkchoice #11421
  • Metrics for reorg distance and depths #11435
  • Support for optimistic sync spectests #11391
  • CLI flag for customizing engine endpoint timeout --engine-endpoint-timeout-seconds #11489
  • Support for lodestar identification in p2p monitoring #11536
  • --enable-full-ssz-data-logging to display debug ssz data on gossip messages that fail validation #11524
  • Progress on capella and withdrawals support #11552 #11563 #11141 #11569
  • Validator exit can be performed from prysmctl #11515 #11575
  • Blinded block support through the json API #11538

Changed

  • Refactoring / cleanup of keymanager #11331
  • Refactoring / improvements in initial sync #11344
  • Forkchoice hardening #11397 #11402
  • Improved log warnings when fee recipient is not set #11395
  • Changed ready for merge log frequency to 1 minute #11410
  • Move log Unable to cache headers for execution client votes to debug #11398
  • Rename field in invalid pruned blocks log #11411
  • Validate checkpoint slot #11396
  • Return an error if marshaling invalid Uint256 #11347
  • Fallback to uncached getPayload if timeout #11404
  • Update bazel to 5.3.0 #11427
  • godocs cleanup and other cleanups #11428
  • Forkchoice track highest received root #11434
  • Metrics updated block arrival time histograms #11424
  • Log error and continue when proposer boost roots are missing #11459
  • Do not return on error during on_tick #11463
  • Do not return on error after update head #11470
  • Update default RPC HTTP timeout to 30s #11487
  • Improved fee recipient UX. #11307
  • Produce block skips mev-boost #11488
  • Builder getPayload timeout set to 3s #11413
  • Make stategen aware of forkchoice #11439
  • Increase verbosity of warning to error when new head cannot be determined when receiving an attestation #11514
  • Provide justified balances to forkchoice #11513
  • Update head continues without attestations #11503
  • Migrate historical states in another goroutine to avoid blocking block execution #11501
  • Made API middleware structs public #11547
  • Updated web UI to v2.0.2 #11559
  • Default value for --block-batch-limit-burst-factor changed from 10 to 2. #11546
  • Vendored leaky bucket implementation with minor modifications #11560

Deprecated

  • --disable-native-state flag and associated feature #11268

Removed

  • Unused WithTimeout for builder client #11420
  • Optimistic sync candidate check #11453
  • Cleans up proto states #11445 #11561
  • Protoarray implementation of forkchoice #11455

Fixed

  • Block fields to return a fixed sized array rather than slice #11375
  • Lost cancel in validator runner #11429
  • Release held lock on error #11412
  • Properly submit blinded blocks #11483
  • Unwanted wrapper of gRPC status errors #11486
  • Sync tests fixed and updated spectests to 1.2.0 #11498 #11492
  • Prevent timeTillDuty from reporting a negative value #11512
  • Don't mark /healthz as unhealthy when mev-boost relayer is down #11506
  • Proposer index cache and slot is used for GetProposerDuties #11521
  • Properly retrieve values for validator monitoring flag from cli #11537
  • Fee recipient fixes and persistence #11540
  • Handle panic when rpc client is not yet initialized #11528
  • Improved comments and error messages #11550
  • SSL support for multiple gRPC endpoints #11556
  • Addressed some tool feedback and code complaints #11555
  • Handle unaggregated attestations in the event feed #11558
  • Prune / expire payload ID cache entries when using beacon json API #11568
  • Payload ID cache may have missed on skip slots due to incorrect key computation #11567

Security

  • Libp2p updated to v0.22.0 #11309

v3.1.1

09 Sep 21:13
Compare
Choose a tag to compare

This is another highly recommended release. It contains a forkchoice pruning fix and a gossipsub optimization. It is recommended to upgrade to this release before the Merge next week, which is currently tracking for Wed Sept 14 (https://bordel.wtf/). Happy staking! See you on the other side!

Fixed

  • Fix memory leaks in fork choice store which leads to node becoming slower #11387
  • Improve connectivity and solves issues connecting with peers #11425

v3.1.0

05 Sep 20:30
8627fe7
Compare
Choose a tag to compare

v3.1.0

Updating to this release is highly recommended as it contains several important fixes and features for the merge. You must be using Prysm v3 or later before Bellatrix activates on September 6th.

Important docs links

Added

  • Add time until next duty in epoch logs for validator #11301
  • Builder API: Added support for deleting gas limit endpoint #11290
  • Added debug endpoint GetForkChoice for doubly-linked-tree #11312 #11325
  • Added support for engine API headers. --execution-headers=key=value #11330
  • New merge specific metrics. See #11367

Changed

  • Deposit cache now returns shallow copy of deposits #11273
  • Updated go-ethereum dependency to v1.10.23
  • Updated LLVM compiler version to 13.0.1
  • Builder API: filter 0 bid and empty tx root responses #11313
  • Allow attestations/blocks to be received by beacon node when the nodes only optimistically synced #11319 #11320
  • Add depth and distance to CommonAncestorRoot reorg object #11315
  • Allocate slice array to expected length in several methods #11317
  • Updated lighthouse to version v3 in E2E runner
  • Improved handling of execution client errors #11321 #11359
  • Updated web3signer version in E2E runner #11339
  • Improved error messages for db unmarshalling failures in ancestor state lookup #11342
  • Only updated finalized checkpoints in database if its more recent than previous checkpoint #11356

Removed

Fixed

  • Fixed improper wrapping of certain errors #11282
  • Only log fee recipient message if changed #11295 #11296
  • Simplify ListAttestations RPC method #11292 fixes #11291
  • Fix several RPC methods to be aware of the appropriate fork #11274
  • Fixed encoding issue with builder API register validator method. #11299 fixes #11297
  • Improved blinded block handling in API. #11304 fixes #11293
  • Fixed IPC path for windows users #11324
  • Fix proposal of blinded blocks #11346
  • Prysm no longer crashes on start up if builder endpoint is not available #11380