mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
SortedForkSchedule should never be empty for a properly initialized network schedule, but the handler already had a branch to support an empty result. Without an early return, we wrote a JSON response and then still accessed schedule[0], which could panic and double-write the HTTP response in misconfigured setups. --------- Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Prysmatic Labs Beacon Chain Implementation
This is the main project folder for the beacon chain implementation of Ethereum written in Go by Prysmatic Labs.
You can also read our main README and join our active chat room on Discord.
Also, read the official beacon chain specification, this design spec serves as a source of truth for the beacon chain implementation we follow at Prysmatic Labs.
