mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +00:00
Register the Altair topics in the valid topics list
This commit is contained in:
parent
b566d4657f
commit
9b41bb64da
@ -425,16 +425,21 @@ proc init*(T: type BeaconNode,
|
|||||||
getProposerSlashingsTopic(network.forkDigests.phase0),
|
getProposerSlashingsTopic(network.forkDigests.phase0),
|
||||||
getVoluntaryExitsTopic(network.forkDigests.phase0),
|
getVoluntaryExitsTopic(network.forkDigests.phase0),
|
||||||
getAggregateAndProofsTopic(network.forkDigests.phase0),
|
getAggregateAndProofsTopic(network.forkDigests.phase0),
|
||||||
|
getSyncCommitteeContributionAndProofTopic(network.forkDigests.phase0),
|
||||||
|
|
||||||
getBeaconBlocksTopic(dag.forkDigests.altair),
|
getBeaconBlocksTopic(dag.forkDigests.altair),
|
||||||
getAttesterSlashingsTopic(network.forkDigests.altair),
|
getAttesterSlashingsTopic(network.forkDigests.altair),
|
||||||
getProposerSlashingsTopic(network.forkDigests.altair),
|
getProposerSlashingsTopic(network.forkDigests.altair),
|
||||||
getVoluntaryExitsTopic(network.forkDigests.altair),
|
getVoluntaryExitsTopic(network.forkDigests.altair),
|
||||||
getAggregateAndProofsTopic(network.forkDigests.altair)
|
getAggregateAndProofsTopic(network.forkDigests.altair),
|
||||||
|
getSyncCommitteeContributionAndProofTopic(network.forkDigests.altair)
|
||||||
]
|
]
|
||||||
for subnet_id in 0'u64 ..< ATTESTATION_SUBNET_COUNT:
|
for subnet_id in 0'u64 ..< ATTESTATION_SUBNET_COUNT:
|
||||||
topics &= getAttestationTopic(network.forkDigests.phase0, SubnetId(subnet_id))
|
topics &= getAttestationTopic(network.forkDigests.phase0, SubnetId(subnet_id))
|
||||||
topics &= getAttestationTopic(network.forkDigests.altair, 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)
|
topics)
|
||||||
|
|
||||||
if node.config.inProcessValidators:
|
if node.config.inProcessValidators:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user