Merge pull request #1844 from ericsson49/ericsson49/fix_shard_state_transition

`compute_shard_transition_digest` expects `Root` as a fourth parameter
This commit is contained in:
Danny Ryan
2020-05-26 10:17:55 -06:00
committed by GitHub

View File

@@ -81,7 +81,7 @@ def shard_state_transition(beacon_state: BeaconState,
beacon_state,
shard_state,
block.beacon_parent_root,
block.body,
hash_tree_root(block.body),
)
shard_state.gasprice = compute_updated_gasprice(prev_gasprice, len(block.body))
shard_state.slot = block.slot