Merge pull request #858 from ralexstokes/update-get-block-root-text

Update the descriptive text to refer to the correct type of root
This commit is contained in:
Danny Ryan
2019-04-18 04:56:16 +10:00
committed by GitHub

View File

@@ -916,7 +916,7 @@ def get_block_root(state: BeaconState,
return state.latest_block_roots[slot % SLOTS_PER_HISTORICAL_ROOT]
```
`get_block_root(_, s)` should always return `hash_tree_root` of the block in the beacon chain at slot `s`, and `get_crosslink_committees_at_slot(_, s)` should not change unless the [validator](#dfn-validator) registry changes.
`get_block_root(_, s)` should always return `signed_root` of the block in the beacon chain at slot `s`, and `get_crosslink_committees_at_slot(_, s)` should not change unless the [validator](#dfn-validator) registry changes.
### `get_state_root`