Fixes typing and Makefile
This commit is contained in:
parent
1d9fe90d97
commit
f6322e199b
3
Makefile
3
Makefile
|
@ -40,8 +40,7 @@ partial_clean:
|
|||
rm -rf $(PY_SPEC_DIR)/.coverage
|
||||
rm -rf $(PY_SPEC_DIR)/test-reports
|
||||
|
||||
clean:
|
||||
partial_clean
|
||||
clean: partial_clean
|
||||
rm -rf $(PY_SPEC_DIR)/venv
|
||||
rm -rf $(DEPOSIT_CONTRACT_DIR)/venv
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ A validator can get committee assignments for a given epoch using the following
|
|||
def get_committee_assignment(
|
||||
state: BeaconState,
|
||||
epoch: Epoch,
|
||||
validator_index: ValidatorIndex) -> Tuple[List[ValidatorIndex], Shard, Slot]:
|
||||
validator_index: ValidatorIndex) -> Tuple[Sequence[ValidatorIndex], Shard, Slot]:
|
||||
"""
|
||||
Return the committee assignment in the ``epoch`` for ``validator_index``.
|
||||
``assignment`` returned is a tuple of the following form:
|
||||
|
|
Loading…
Reference in New Issue