revert non-PR commit

This commit is contained in:
tersec 2024-01-21 07:06:09 +00:00
parent 172374580d
commit 195a7525fa
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ 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,

View File

@ -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/blob/v0.4.0/specs/bellatrix/validator.md#liveness-failsafe
# https://github.com/ethereum/builder-specs/pull/47
func livenessFailsafeInEffect*(
block_roots: array[Limit SLOTS_PER_HISTORICAL_ROOT, Eth2Digest],
slot: Slot): bool =