mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-02 20:34:27 +00:00
Gloas alpha spec 8 (#9315)
https://github.com/ethereum/consensus-specs/releases/tag/v1.7.0-alpha.8 Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu> Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
@@ -556,7 +556,11 @@ impl ForkChoiceTestDefinition {
|
||||
node_v29.payload_data_availability_votes =
|
||||
BitVector::from_bytes(smallvec::smallvec![fill; 64])
|
||||
.expect("valid 512-bit bitvector");
|
||||
// Per spec, is_payload_timely/is_payload_data_available require
|
||||
// Mark all PTC members as having participated.
|
||||
node_v29.ptc_participation =
|
||||
BitVector::from_bytes(smallvec::smallvec![0xFF; 64])
|
||||
.expect("valid 512-bit bitvector");
|
||||
// Per spec, payload_timeliness/payload_data_availability require
|
||||
// the payload to be in payload_states (payload_received).
|
||||
node_v29.payload_received = is_timely || is_data_available;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user