Add custom type hinting for `get_active_index_root`
This commit is contained in:
parent
78a4b82345
commit
8c91be9e74
|
@ -116,7 +116,7 @@
|
||||||
- [Attestation inclusion](#attestation-inclusion)
|
- [Attestation inclusion](#attestation-inclusion)
|
||||||
- [Crosslinks](#crosslinks-1)
|
- [Crosslinks](#crosslinks-1)
|
||||||
- [Ejections](#ejections)
|
- [Ejections](#ejections)
|
||||||
- [Validator registry](#validator-registry)
|
- [Validator registry and shuffling seed data](#validator-registry-and-shuffling-seed-data)
|
||||||
- [Final updates](#final-updates)
|
- [Final updates](#final-updates)
|
||||||
- [State root processing](#state-root-processing)
|
- [State root processing](#state-root-processing)
|
||||||
- [References](#references)
|
- [References](#references)
|
||||||
|
@ -1013,7 +1013,7 @@ def get_randao_mix(state: BeaconState,
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def get_active_index_root(state: BeaconState,
|
def get_active_index_root(state: BeaconState,
|
||||||
slot: int) -> Bytes32:
|
slot: SlotNumber) -> Bytes32:
|
||||||
"""
|
"""
|
||||||
Returns the index root at a recent ``slot``.
|
Returns the index root at a recent ``slot``.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue