enable subnet sampling

This commit is contained in:
Agnish Ghosh 2024-09-18 13:30:14 +05:30
parent 76b53483ff
commit 2fff2ca38f
1 changed files with 3 additions and 1 deletions

View File

@ -1151,7 +1151,9 @@ proc addDenebMessageHandlers(
node.addCapellaMessageHandlers(forkDigest, slot)
let
targetSubnets = node.fetchCustodySubnetCount()
custody_subnets = node.network.nodeId.get_custody_column_subnets(targetSubnets)
custody_subnets =
node.network.nodeId.get_custody_column_subnets(max(SAMPLES_PER_SLOT.uint64,
targetSubnets))
debugEcho "Target Subnets"
debugEcho targetSubnets