@@ -418,7 +418,7 @@ proc initFullNode(
418418 payloadAttestationPool = newClone (PayloadAttestationPool .init (dag))
419419 blobQuarantine = newClone (BlobQuarantine .init (
420420 dag.cfg, dag.db.getQuarantineDB (), 10 , onBlobSidecarAdded))
421- supernode = node.config.peerdasSupernode or node.config.debugPeerdasSupernode
421+ supernode = node.config.peerdasSupernode
422422 lightSupernode = node.config.lightSupernode
423423 localCustodyGroups =
424424 if supernode:
@@ -1312,7 +1312,7 @@ func readCustodyGroupSubnets(node: BeaconNode): uint64 =
13121312 let
13131313 custodyGroups = node.dag.cfg.NUMBER_OF_CUSTODY_GROUPS
13141314 vcus_count = node.dataColumnQuarantine.custodyColumns.lenu64
1315- if node.config.peerdasSupernode or node.config.debugPeerdasSupernode :
1315+ if node.config.peerdasSupernode:
13161316 custodyGroups
13171317 elif node.config.lightSupernode:
13181318 (custodyGroups div 2 ) + 1
@@ -2048,7 +2048,6 @@ proc onSlotEnd(node: BeaconNode, slot: Slot) {.async.} =
20482048 node.updateSyncCommitteeTopics (slot + 1 )
20492049
20502050 if (not node.config.peerdasSupernode) and
2051- (not node.config.debugPeerdasSupernode) and
20522051 (not node.config.lightSupernode) and
20532052 node.dataColumnQuarantine[].len == 0 and
20542053 node.attachedValidatorBalanceTotal > 0 .Gwei :
@@ -2853,11 +2852,10 @@ proc doRunBeaconNode(
28532852 # TODO when reconstruction works again, re-enable
28542853 # this is required because the fall-through is that if one of these is
28552854 # enabled, the (working) light supernode code won't run at all.
2856- if config.debugPeerdasSuperNode or config. peerdasSuperNode:
2855+ if config.peerdasSuperNode:
28572856 # It's at least not worse than not doing this; a functioning (full)
28582857 # supernode reconstructs and stores a superset of these columns
28592858 config.lightSupernode = true
2860- config.debugPeerdasSupernode = false
28612859 config.peerdasSupernode = false
28622860
28632861 if config.rpcEnabled.isSome:
0 commit comments