mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 11:55:05 -05:00
Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
@@ -443,7 +443,7 @@ def process_attestations(state: BeaconState, block: BeaconBlock, attestations: S
|
||||
aggregation_bits=attestation.aggregation_bits,
|
||||
data=attestation.data,
|
||||
inclusion_delay=state.slot - data.slot,
|
||||
crosslink_success=(attestation.shard, attestation.shard_transition_root) in winners and attestation.data.slot == state.slot,
|
||||
crosslink_success=(get_shard(state, attestation), attestation.shard_transition_root) in winners and attestation.data.slot == state.slot,
|
||||
proposer_index=proposer_index
|
||||
)
|
||||
if attestation.data.target.epoch == get_current_epoch(state):
|
||||
|
||||
Reference in New Issue
Block a user