From d3c26d6b8b16f130a340568b3caf93a31ae2203e Mon Sep 17 00:00:00 2001 From: ericsson Date: Mon, 25 May 2020 18:45:38 +0300 Subject: [PATCH] `compute_shard_transition_digest` expects `Root` as a fourth parameter --- specs/phase1/shard-transition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/phase1/shard-transition.md b/specs/phase1/shard-transition.md index 55b867faa..da3aa648c 100644 --- a/specs/phase1/shard-transition.md +++ b/specs/phase1/shard-transition.md @@ -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