sharding: remove outdated comment, timely shard attesters are marked in attestation-processing, no need for epoch processing additions
This commit is contained in:
parent
91968de423
commit
322f072703
|
@ -853,7 +853,6 @@ def process_pending_shard_confirmations(state: BeaconState) -> None:
|
||||||
committee_work = state.shard_buffer[buffer_index][shard_index]
|
committee_work = state.shard_buffer[buffer_index][shard_index]
|
||||||
if committee_work.status.selector == SHARD_WORK_PENDING:
|
if committee_work.status.selector == SHARD_WORK_PENDING:
|
||||||
winning_header = max(committee_work.status.value, key=lambda header: header.weight)
|
winning_header = max(committee_work.status.value, key=lambda header: header.weight)
|
||||||
# TODO In Altair: set participation bit flag of voters for winning header
|
|
||||||
if winning_header.attested.commitment == DataCommitment():
|
if winning_header.attested.commitment == DataCommitment():
|
||||||
committee_work.status.change(selector=SHARD_WORK_UNCONFIRMED, value=None)
|
committee_work.status.change(selector=SHARD_WORK_UNCONFIRMED, value=None)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue