`compute_shard_transition_digest` expects `Root` as a fourth parameter

This commit is contained in:
ericsson 2020-05-25 18:45:38 +03:00
parent 7770accf96
commit d3c26d6b8b
1 changed files with 1 additions and 1 deletions

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