Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions specs/fulu/beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class BeaconState(Container):
```python
def compute_proposer_indices(
state: BeaconState, epoch: Epoch, seed: Bytes32, indices: Sequence[ValidatorIndex]
) -> List[ValidatorIndex, SLOTS_PER_EPOCH]:
) -> Vector[ValidatorIndex, SLOTS_PER_EPOCH]:
"""
Return the proposer indices for the given ``epoch``.
"""
Expand Down Expand Up @@ -185,7 +185,7 @@ def get_beacon_proposer_index(state: BeaconState) -> ValidatorIndex:
```python
def get_beacon_proposer_indices(
state: BeaconState, epoch: Epoch
) -> List[ValidatorIndex, SLOTS_PER_EPOCH]:
) -> Vector[ValidatorIndex, SLOTS_PER_EPOCH]:
"""
Return the proposer indices for the given ``epoch``.
"""
Expand Down
2 changes: 1 addition & 1 deletion specs/fulu/fork.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def compute_fork_version(epoch: Epoch) -> Version:
```python
def initialize_proposer_lookahead(
state: electra.BeaconState,
) -> List[ValidatorIndex, (MIN_SEED_LOOKAHEAD + 1) * SLOTS_PER_EPOCH]:
) -> Vector[ValidatorIndex, (MIN_SEED_LOOKAHEAD + 1) * SLOTS_PER_EPOCH]:
"""
Return the proposer indices for the full available lookahead starting from current epoch.
Used to initialize the ``proposer_lookahead`` field in the beacon state at genesis and after forks.
Expand Down