Fixes typing and Makefile

This commit is contained in:
Carl Beekhuizen 2019-06-30 11:18:36 +02:00
parent 1d9fe90d97
commit f6322e199b
No known key found for this signature in database
GPG Key ID: D05CA176D0020646
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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: