diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index 744a39d1a..a07e44b6d 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -431,13 +431,15 @@ proc init*(T: type BeaconNode, getProposerSlashingsTopic(network.forkDigests.altair), getVoluntaryExitsTopic(network.forkDigests.altair), getAggregateAndProofsTopic(network.forkDigests.altair), - getSyncCommitteeContributionAndProofTopic(network.forkDigests.altair) ] + if not config.verifyFinalization: + topics &= getSyncCommitteeContributionAndProofTopic(network.forkDigests.altair) for subnet_id in 0'u64 ..< ATTESTATION_SUBNET_COUNT: 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.altair, SyncCommitteeIndex(subnet_id)) + if not config.verifyFinalization: + for subnet_id in 0'u64 ..< SYNC_COMMITTEE_SUBNET_COUNT: + topics &= getSyncCommitteeTopic(network.forkDigests.altair, SyncCommitteeIndex(subnet_id)) topics) if node.config.inProcessValidators: