mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
fad118cb04
ValidateClock in ValidateAttestationTime is useless The check is that the attSlot is not > than the currentslot + 128 slots. Later there's a check that the attSlot start time is not > than current slot start time + clockDisparity. if attSlot > than currentSlot + 128 slots, then the second check would fail anyway. The lattest check already guarantees that the attSlot cannot be larger than the currentSlot, therefore it may never happen that attEpoch > currentEpoch. We just need to check for Deneb that attEpoch >= currentEpoch - 1. Removes also some duplicated variables like the attestation epoch being computed twice. |
||
---|---|---|
.. | ||
blockchain | ||
builder | ||
cache | ||
core | ||
das | ||
db | ||
deterministic-genesis | ||
execution | ||
forkchoice | ||
gateway | ||
monitor | ||
node | ||
operations | ||
p2p | ||
package | ||
rpc | ||
slasher | ||
startup | ||
state | ||
sync | ||
verification | ||
README.md |
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.