Unbreak things again

This commit is contained in:
Carl Beekhuizen
2019-06-18 23:00:30 +02:00
parent 04c7c43874
commit 61a51417ed

View File

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