3737 - [ New ` Builders ` ] ( #new-builders )
3838 - [ New ` ExecutionPayloadAvailability ` ] ( #new-executionpayloadavailability )
3939 - [ New ` PayloadAttestations ` ] ( #new-payloadattestations )
40- - [ New ` PTC ` ] ( #new-ptc )
41- - [ New ` PTCAttestingIndices ` ] ( #new-ptcattestingindices )
42- - [ New ` PTCBits ` ] ( #new-ptcbits )
43- - [ New ` PTCWindow ` ] ( #new-ptcwindow )
40+ - [ New ` PayloadTimelinessCommittee ` ] ( #new-payloadtimelinesscommittee )
41+ - [ New ` PayloadTimelinessCommitteeIndices ` ] ( #new-payloadtimelinesscommitteeindices )
42+ - [ New ` PayloadTimelinessCommitteeBits ` ] ( #new-payloadtimelinesscommitteebits )
43+ - [ New ` PayloadTimelinessCommitteeWindow ` ] ( #new-payloadtimelinesscommitteewindow )
4444- [ Constants] ( #constants )
4545 - [ Index flags] ( #index-flags )
4646 - [ Domains] ( #domains )
@@ -491,38 +491,41 @@ class PayloadAttestations(ProgressiveList[PayloadAttestation]):
491491 """
492492```
493493
494- ### New ` PTC `
494+ ### New ` PayloadTimelinessCommittee `
495495
496496``` python
497- class PTC (Vector[ValidatorIndex, PTC_SIZE ]):
497+ class PayloadTimelinessCommittee (Vector[ValidatorIndex, PTC_SIZE ]):
498498 """
499499 The payload timeliness committee of a slot.
500500 """
501501```
502502
503- ### New ` PTCAttestingIndices `
503+ ### New ` PayloadTimelinessCommitteeIndices `
504504
505505``` python
506- class PTCAttestingIndices (List[ValidatorIndex, PTC_SIZE ]):
506+ class PayloadTimelinessCommitteeIndices (List[ValidatorIndex, PTC_SIZE ]):
507507 """
508- The indices of the PTC members participating in a payload attestation.
508+ The indices of payload timeliness committee members, as a list limited
509+ by the size of the committee.
509510 """
510511```
511512
512- ### New ` PTCBits `
513+ ### New ` PayloadTimelinessCommitteeBits `
513514
514515``` python
515- class PTCBits (BitVector[PTC_SIZE ]):
516+ class PayloadTimelinessCommitteeBits (BitVector[PTC_SIZE ]):
516517 """
517518 The participation bits of the payload timeliness committee, one bit per
518519 member in committee order.
519520 """
520521```
521522
522- ### New ` PTCWindow `
523+ ### New ` PayloadTimelinessCommitteeWindow `
523524
524525``` python
525- class PTCWindow (Vector[PTC , (2 + MIN_SEED_LOOKAHEAD ) * SLOTS_PER_EPOCH ]):
526+ class PayloadTimelinessCommitteeWindow (
527+ Vector[PayloadTimelinessCommittee, (2 + MIN_SEED_LOOKAHEAD ) * SLOTS_PER_EPOCH ]
528+ ):
526529 """
527530 A rolling window of payload timeliness committees for the previous,
528531 current, and lookahead epochs.
@@ -702,7 +705,7 @@ class PayloadAttestationData(Container):
702705
703706``` python
704707class PayloadAttestation (ProgressiveContainer (active_fields = [1 ] * 3 )):
705- aggregation_bits: PTCBits
708+ aggregation_bits: PayloadTimelinessCommitteeBits
706709 data: PayloadAttestationData
707710 signature: BLSSignature
708711```
@@ -720,7 +723,7 @@ class PayloadAttestationMessage(Container):
720723
721724``` python
722725class IndexedPayloadAttestation (ProgressiveContainer (active_fields = [1 ] * 3 )):
723- attesting_indices: PTCAttestingIndices
726+ attesting_indices: PayloadTimelinessCommitteeIndices
724727 data: PayloadAttestationData
725728 signature: BLSSignature
726729```
@@ -900,7 +903,7 @@ class BeaconState(ProgressiveContainer(active_fields=[1] * 46)):
900903 # [New in Gloas:EIP7732]
901904 payload_expected_withdrawals: Withdrawals
902905 # [New in Gloas:EIP7732]
903- ptc_window: PTCWindow
906+ ptc_window: PayloadTimelinessCommitteeWindow
904907```
905908
906909#### ` ExecutionPayload `
@@ -1209,7 +1212,7 @@ def compute_proposer_indices(
12091212#### New ` compute_ptc `
12101213
12111214``` python
1212- def compute_ptc (state : BeaconState, slot : Slot) -> PTC :
1215+ def compute_ptc (state : BeaconState, slot : Slot) -> PayloadTimelinessCommittee :
12131216 """
12141217 Get the payload timeliness committee, with possible duplicates, for the given ``slot``.
12151218 """
@@ -1221,7 +1224,7 @@ def compute_ptc(state: BeaconState, slot: Slot) -> PTC:
12211224 for i in range (committees_per_slot):
12221225 committee = get_beacon_committee(state, slot, CommitteeIndex(i))
12231226 indices.extend(committee)
1224- return PTC (
1227+ return PayloadTimelinessCommittee (
12251228 compute_balance_weighted_selection(
12261229 state, indices, seed, size = PTC_SIZE , shuffle_indices = False
12271230 )
@@ -1335,7 +1338,7 @@ def get_attestation_participation_flag_indices(
13351338#### New ` get_ptc `
13361339
13371340``` python
1338- def get_ptc (state : BeaconState, slot : Slot) -> PTC :
1341+ def get_ptc (state : BeaconState, slot : Slot) -> PayloadTimelinessCommittee :
13391342 """
13401343 Get the payload timeliness committee for the given ``slot``.
13411344 """
@@ -1364,7 +1367,7 @@ def get_indexed_payload_attestation(
13641367 attesting_indices = [index for i, index in enumerate (ptc) if bits[i]]
13651368
13661369 return IndexedPayloadAttestation(
1367- attesting_indices = PTCAttestingIndices (sorted (attesting_indices)),
1370+ attesting_indices = PayloadTimelinessCommitteeIndices (sorted (attesting_indices)),
13681371 data = payload_attestation.data,
13691372 signature = payload_attestation.signature,
13701373 )
0 commit comments