From 61a51417ed4f58091e0555c82ff18d098df2dd93 Mon Sep 17 00:00:00 2001 From: Carl Beekhuizen Date: Tue, 18 Jun 2019 23:00:30 +0200 Subject: [PATCH] Unbreak things again --- specs/core/0_fork-choice.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specs/core/0_fork-choice.md b/specs/core/0_fork-choice.md index a5d202ffa..e4ea773c8 100644 --- a/specs/core/0_fork-choice.md +++ b/specs/core/0_fork-choice.md @@ -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