mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-12 23:34:44 +00:00
subscribe to all subnets in deneb message handlers
This commit is contained in:
parent
07d1a26e59
commit
6796b19883
@ -1160,11 +1160,10 @@ proc addDenebMessageHandlers(
|
|||||||
debugEcho cs
|
debugEcho cs
|
||||||
|
|
||||||
for i in 0'u64 ..< targetSubnets:
|
for i in 0'u64 ..< targetSubnets:
|
||||||
if i in custody_subnets.get:
|
let topic = getDataColumnSidecarTopic(forkDigest, i)
|
||||||
let topic = getDataColumnSidecarTopic(forkDigest, i)
|
debugEcho "Topic"
|
||||||
debugEcho "Topic"
|
debugEcho topic
|
||||||
debugEcho topic
|
node.network.subscribe(topic, basicParams)
|
||||||
node.network.subscribe(topic, basicParams)
|
|
||||||
|
|
||||||
if node.config.subscribeAllSubnets:
|
if node.config.subscribeAllSubnets:
|
||||||
node.network.loadCscnetsMetadata(DATA_COLUMN_SIDECAR_SUBNET_COUNT.uint8)
|
node.network.loadCscnetsMetadata(DATA_COLUMN_SIDECAR_SUBNET_COUNT.uint8)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user