mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 13:25:04 -05:00
Unbreak things again
This commit is contained in:
@@ -61,6 +61,7 @@ The head block root associated with a `store` is defined as `get_head(store)`. A
|
||||
@dataclass
|
||||
class Target(object):
|
||||
epoch: Epoch
|
||||
root: Bytes32
|
||||
```
|
||||
|
||||
#### `Store`
|
||||
@@ -68,8 +69,12 @@ class Target(object):
|
||||
```python
|
||||
@dataclass
|
||||
class Store(object):
|
||||
blocks: Dict[Bytes32, BeaconBlock] = field(default_factory=dict)
|
||||
states: Dict[Bytes32, BeaconState] = field(default_factory=dict)
|
||||
time: int = 0
|
||||
latest_targets: Dict[ValidatorIndex, Target] = field(default_factory=dict)
|
||||
justified_root: Bytes32 = ZERO_HASH
|
||||
finalized_root: Bytes32 = ZERO_HASH
|
||||
```
|
||||
|
||||
### Helpers
|
||||
|
||||
Reference in New Issue
Block a user