Skip to content

v5.1.0

Compare
Choose a tag to compare
@prestonvanloon prestonvanloon released this 20 Aug 18:55
· 200 commits to develop since this release
b8cd779

This release contains 171 new changes and many of these are related to Electra! Along side the Electra changes, there are nearly 100 changes related to bug fixes, feature additions, and other improvements to Prysm. Updating to this release is recommended at your convenience.

⚠️ Deprecation Notice: Removal of gRPC Gateway and Gateway Flag Renaming ⚠️

In an upcoming release, we will be deprecating the gRPC gateway and renaming several associated flags. This change will result in the removal of access to several internal APIs via REST, though the gRPC endpoints will remain unaffected. We strongly encourage systems to transition to using the beacon API endpoints moving forward. Please refer to PR #14089 for more details.

Review the full diff here: v5.0.4...v5.1.0

Added

Changed

  • Refactored slasher operations to their logical order #14322
  • Refactored Gwei and Wei types from math to primitives package. #14026
  • Unwrap payload bid from ExecutionData #14035
  • Change ZeroWei to a func to avoid shared ptr #14043
  • Updated go-libp2p to v0.35.2 and go-libp2p-pubsub to v0.11.0 #14060 #14192
  • Use genesis block root in epoch 1 for attester duties #14059
  • Cleanup validator client code #14048
  • Old attestations log moved to debug. "Attestation is too old to broadcast, discarding it" #14072
  • Modify ProcessEpoch not to return the state as a returned value #14069
  • Updated go-bitfield to latest release #14120
  • Use go ticker instead of timer #14134
  • process_registry_updates no longer makes a full copy of the validator set #14130 #14197
  • Validator client processes sync committee roll separately #13995
  • Use vote pointers in forkchoice to reduce memory churn #14196
  • Avoid Cloning When Creating a New Gossip Message #14201
  • Proposer filters invalid attestation signatures #14225
  • Validator now pushes proposer settings every slot #14155 #14285
  • Get all beacon committees at once #14282 #14284
  • Committee-aware attestation packing #14245

Deprecated

  • --enable-debug-rpc-endpoints is deprecated and debug rpc points are on by default. #14015

Removed

  • Removed fork specific getter functions (i.e. PbCapellaBlock, PbDenebBlock, etc) #13941

Fixed

  • Fixed debug log "upgraded stake to $fork" to only log on upgrades instead of every state transition #14316
  • Fixed nil block panic in API #14063
  • Fixed mockgen script #14068
  • Do not fail to build block when block value is unknown #14111
  • Fix prysmctl TUI when more than 20 validators were listed #14140
  • Revert peer backoff changes from #14137. This was causing some sync committee performance issues. #14148
  • Increased attestation seen cache expiration to two epochs #14156
  • Fixed slasher db disk usage leak #14151
  • fix: Multiple network flags should prevent the BN to start #14169
  • Correctly handle empty payload from GetValidatorPerformance requests #14240
  • Fix Event stream with carriage return support #14250
  • Fix panic on empty block result in REST API #14280
  • engine_getPayloadBodiesByRangeV1 - fix, adding hexutil encoding on request parameters #14314

Security

  • Go version updated to 1.22 #13965