Skip to content

Commit 737dcbe

Browse files
authored
Update light client root spec reference (#8234)
Spec was cleaned up: - ethereum/consensus-specs#4567
1 parent 476eff8 commit 737dcbe

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

beacon_chain/spec/datatypes/electra.nim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,13 +632,11 @@ type
632632
## (used to calculate safety threshold)
633633
current_max_active_participants*: uint64
634634

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
635+
# https://github.com/ethereum/consensus-specs/blob/v1.7.0-alpha.4/specs/deneb/light-client/sync-protocol.md#modified-get_lc_execution_root
636636
func get_lc_execution_root*(
637637
header: LightClientHeader, cfg: RuntimeConfig): Eth2Digest =
638638
let epoch = header.beacon.slot.epoch
639639

640-
# [New in Electra]
641-
# TODO https://github.com/ethereum/consensus-specs/issues/4557
642640
if epoch >= cfg.DENEB_FORK_EPOCH:
643641
return hash_tree_root(header.execution)
644642

0 commit comments

Comments
 (0)