From 172374580d380e07cb80bc084c66494405c6d5fd Mon Sep 17 00:00:00 2001 From: tersec Date: Sun, 21 Jan 2024 07:03:42 +0000 Subject: [PATCH] rm duplicate imports --- beacon_chain/el/el_manager.nim | 1 - beacon_chain/spec/validator.nim | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/beacon_chain/el/el_manager.nim b/beacon_chain/el/el_manager.nim index edd3416a5..47bef8140 100644 --- a/beacon_chain/el/el_manager.nim +++ b/beacon_chain/el/el_manager.nim @@ -16,7 +16,6 @@ import eth/common/[eth_types, transaction], eth/async_utils, results, stew/[assign2, byteutils, objects], - eth/async_utils, stew/[assign2, byteutils, objects], # Local modules: ../spec/[eth2_merkleization, forks, helpers], ../networking/network_metadata, diff --git a/beacon_chain/spec/validator.nim b/beacon_chain/spec/validator.nim index 7ded3eb72..d77a5d1db 100644 --- a/beacon_chain/spec/validator.nim +++ b/beacon_chain/spec/validator.nim @@ -461,7 +461,7 @@ func is_aggregator*(committee_len: uint64, slot_signature: ValidatorSig): bool = bytes_to_uint64(eth2digest( slot_signature.toRaw()).data.toOpenArray(0, 7)) mod modulo == 0 -# https://github.com/ethereum/builder-specs/pull/47 +# https://github.com/ethereum/builder-specs/blob/v0.4.0/specs/bellatrix/validator.md#liveness-failsafe func livenessFailsafeInEffect*( block_roots: array[Limit SLOTS_PER_HISTORICAL_ROOT, Eth2Digest], slot: Slot): bool =