sync committees don't exist in phase 0 (#2894)

This commit is contained in:
tersec 2021-09-24 07:39:35 +00:00 committed by GitHub
parent 0c635334a2
commit bef98f6f50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -425,7 +425,6 @@ proc init*(T: type BeaconNode,
getProposerSlashingsTopic(network.forkDigests.phase0),
getVoluntaryExitsTopic(network.forkDigests.phase0),
getAggregateAndProofsTopic(network.forkDigests.phase0),
getSyncCommitteeContributionAndProofTopic(network.forkDigests.phase0),
getBeaconBlocksTopic(dag.forkDigests.altair),
getAttesterSlashingsTopic(network.forkDigests.altair),
@ -438,7 +437,6 @@ proc init*(T: type BeaconNode,
topics &= getAttestationTopic(network.forkDigests.phase0, SubnetId(subnet_id))
topics &= getAttestationTopic(network.forkDigests.altair, SubnetId(subnet_id))
for subnet_id in 0'u64 ..< SYNC_COMMITTEE_SUBNET_COUNT:
topics &= getSyncCommitteeTopic(network.forkDigests.phase0, SyncCommitteeIndex(subnet_id))
topics &= getSyncCommitteeTopic(network.forkDigests.altair, SyncCommitteeIndex(subnet_id))
topics)