revert non-PR commit
This commit is contained in:
parent
172374580d
commit
195a7525fa
|
@ -16,6 +16,7 @@ import
|
||||||
eth/common/[eth_types, transaction],
|
eth/common/[eth_types, transaction],
|
||||||
eth/async_utils, results,
|
eth/async_utils, results,
|
||||||
stew/[assign2, byteutils, objects],
|
stew/[assign2, byteutils, objects],
|
||||||
|
eth/async_utils, stew/[assign2, byteutils, objects],
|
||||||
# Local modules:
|
# Local modules:
|
||||||
../spec/[eth2_merkleization, forks, helpers],
|
../spec/[eth2_merkleization, forks, helpers],
|
||||||
../networking/network_metadata,
|
../networking/network_metadata,
|
||||||
|
|
|
@ -461,7 +461,7 @@ func is_aggregator*(committee_len: uint64, slot_signature: ValidatorSig): bool =
|
||||||
bytes_to_uint64(eth2digest(
|
bytes_to_uint64(eth2digest(
|
||||||
slot_signature.toRaw()).data.toOpenArray(0, 7)) mod modulo == 0
|
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*(
|
func livenessFailsafeInEffect*(
|
||||||
block_roots: array[Limit SLOTS_PER_HISTORICAL_ROOT, Eth2Digest],
|
block_roots: array[Limit SLOTS_PER_HISTORICAL_ROOT, Eth2Digest],
|
||||||
slot: Slot): bool =
|
slot: Slot): bool =
|
||||||
|
|
Loading…
Reference in New Issue