Merge pull request #2365 from ethereum/fix-sharding-note

Fix note about sharding beacon state extension
This commit is contained in:
Hsiao-Wei Wang 2021-04-29 23:44:03 +08:00 committed by GitHub
commit 2af585b333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class BeaconBlockBody(merge.BeaconBlockBody): # [extends The Merge block body]
### `BeaconState` ### `BeaconState`
```python ```python
class BeaconState(merge.BeaconState): # [extends The Merge block body] class BeaconState(merge.BeaconState): # [extends The Merge state]
# [Updated fields] # [Updated fields]
previous_epoch_attestations: List[PendingAttestation, MAX_ATTESTATIONS * SLOTS_PER_EPOCH] previous_epoch_attestations: List[PendingAttestation, MAX_ATTESTATIONS * SLOTS_PER_EPOCH]
current_epoch_attestations: List[PendingAttestation, MAX_ATTESTATIONS * SLOTS_PER_EPOCH] current_epoch_attestations: List[PendingAttestation, MAX_ATTESTATIONS * SLOTS_PER_EPOCH]