Revert "Bump chronos and presto. (#3159)" (#3160)

This reverts commit 4c90b82d9f.
This commit is contained in:
tersec 2021-12-04 15:52:28 +00:00 committed by GitHub
parent 4c90b82d9f
commit 8d7df05f2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 14 deletions

View File

@ -126,18 +126,8 @@ proc pollForAttesterDuties*(vc: ValidatorClientRef,
relevantDuties = duties.filterIt( relevantDuties = duties.filterIt(
checkDuty(it) and (it.pubkey in vc.attachedValidators) checkDuty(it) and (it.pubkey in vc.attachedValidators)
) )
dependentRoot = dependentRoot = currentRoot.get()
if currentRoot.isNone(): fork = vc.fork.get()
error "Unable to get current dependent root", epoch = epoch
return 0
else:
currentRoot.get()
fork =
if vc.fork.isNone():
error "Unable to get fork information", epoch = epoch
return 0
else:
vc.fork.get()
genesisRoot = vc.beaconGenesis.genesis_validators_root genesisRoot = vc.beaconGenesis.genesis_validators_root
let addOrReplaceItems = let addOrReplaceItems =

2
vendor/nim-chronos vendored

@ -1 +1 @@
Subproject commit 7bf7e5548f31728cbcc5621171bd1e3b80207dd5 Subproject commit 0c7a0bd0a5f9106612b841c5d9c20cd6776b4dde

2
vendor/nim-presto vendored

@ -1 +1 @@
Subproject commit 1aedd3563232edf18a8d25ae7cedf2d066696572 Subproject commit bfcbeceb65d90b47af9adc94dcb671d7dd827443