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
commit 8eb1d2e940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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