There was an error while loading. Please reload this page.
1 parent 476eff8 commit 737dcbeCopy full SHA for 737dcbe
1 file changed
beacon_chain/spec/datatypes/electra.nim
@@ -632,13 +632,11 @@ type
632
## (used to calculate safety threshold)
633
current_max_active_participants*: uint64
634
635
-# https://github.com/ethereum/consensus-specs/blob/v1.7.0-alpha.4/specs/electra/light-client/sync-protocol.md#modified-get_lc_execution_root
+# https://github.com/ethereum/consensus-specs/blob/v1.7.0-alpha.4/specs/deneb/light-client/sync-protocol.md#modified-get_lc_execution_root
636
func get_lc_execution_root*(
637
header: LightClientHeader, cfg: RuntimeConfig): Eth2Digest =
638
let epoch = header.beacon.slot.epoch
639
640
- # [New in Electra]
641
- # TODO https://github.com/ethereum/consensus-specs/issues/4557
642
if epoch >= cfg.DENEB_FORK_EPOCH:
643
return hash_tree_root(header.execution)
644
0 commit comments