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:
commit
8eb1d2e940
|
@ -81,7 +81,7 @@ def shard_state_transition(beacon_state: BeaconState,
|
||||||
beacon_state,
|
beacon_state,
|
||||||
shard_state,
|
shard_state,
|
||||||
block.beacon_parent_root,
|
block.beacon_parent_root,
|
||||||
block.body,
|
hash_tree_root(block.body),
|
||||||
)
|
)
|
||||||
shard_state.gasprice = compute_updated_gasprice(prev_gasprice, len(block.body))
|
shard_state.gasprice = compute_updated_gasprice(prev_gasprice, len(block.body))
|
||||||
shard_state.slot = block.slot
|
shard_state.slot = block.slot
|
||||||
|
|
Loading…
Reference in New Issue