github prysmaticlabs/prysm v4.0.6
V4.0.6

latest releases: v5.1.0, v5.0.4, v5.0.4-rc.3...
15 months ago

Welcome to v4.0.6 release of Prysm! This recommended release contains many essential optimizations since v4.0.5. Notable highlights:

  • Better handling of state field trie under late block scenario. This improves the next slot proposer's proposed time
  • Better utilization of next slot cache under various conditions

Important read:

1.) We use this opportunity to remind you that two different implementations of the underlying cryptographic library BLST exist.

  • portable: supports every CPU made in the modern era
  • non-portable: more performant but requires your CPU to support special instructions

Most users will want to use the "non-portable" version since most CPUs support these instructions. Our docker builds are now non-portable by default. Most users will benefit from the performance improvements. You can run with the "portable" versions if your CPU is old or unsupported. For binary distributions and to maintain backward compatibility with older versions of prysm.sh or prysm.bat, users that want to benefit from the non-portable performance improvements need to add an environment variable, like so: USE_PRYSM_MODERN=true prysm.sh beacon-chain prefix, or download the "non-portable" version of the binaries from the github repo.

2.) A peering bug that led to nodes losing peers gradually and eventually needing a restart has been patched. Nodes previously affected by it can remove the --disable-resource-manager flag from v4.0.6 onwards.

Added

  • Copy state field tries for late block #12461
  • Utilize next slot cache correctly under late block scenario #12462
  • Epoch boundary uses next slot cache #12515
  • Beacon API broadcast_validation to block publishing #12432
  • Appropriate Size for the P2P Attestation Queue #12485
  • Flag --disable-resource-manager to disable resource manager for libp2p #12438
  • Beacon RPC start and end block building time logs #12452
  • Prysmctl: output proposer settings #12181
  • Libp2p patch #12507
  • Handle trusted peers for libp2p #12492
  • Spec test v1.4.0-alpha.1 #12489

Changed

  • Use fork-choice store to validate sync message faster #12430
  • Proposer RPc unblind block workflow #12240
  • Restore flag disable-peer-scorer #12386
  • Validator import logs improvement #12429
  • Optimize zero hash comparisons in forkchoice #12458
  • Check peer threshold is met before giving up on context deadline #12446
  • Cleanup of proposer payload ID cache #12474
  • Clean up set execution data for proposer RPC #12466
  • Update Libp2p to v0.27.5 #12486
  • Always Favour Yamux for Multiplexing #12502
  • Ignore Phase0 Blocks For Monitor #12503
  • Move hash tree root to after block broadcast #12504
  • Use next slot cache for sync committee #12287
  • Log validation time for blocks #12514
  • Change update duties to handle all validators exited check #12505
  • Ignore late message log #12525

Fixed

Removed

  • SubmitblindBlock context timeout #12453
  • Defer state feed In propose block #12524

Don't miss a new prysm release

NewReleases is sending notifications on new releases.