mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-12 07:14:20 +00:00
revert to initially subscribing to all subnets
This commit is contained in:
parent
46c72d8cbe
commit
fd1ae50830
@ -220,7 +220,7 @@ proc storeBackfillBlock(
|
|||||||
for i in 0..<data_columns.len:
|
for i in 0..<data_columns.len:
|
||||||
let r = verify_data_column_sidecar_kzg_proofs(data_columns[i][])
|
let r = verify_data_column_sidecar_kzg_proofs(data_columns[i][])
|
||||||
if r.isErr():
|
if r.isErr():
|
||||||
debug "backfill datacolumn validation failed",
|
debug "backfill data column validation failed",
|
||||||
blockRoot = shortLog(signedBlock.root),
|
blockRoot = shortLog(signedBlock.root),
|
||||||
blck = shortLog(signedBlock.message),
|
blck = shortLog(signedBlock.message),
|
||||||
signature = shortLog(signedBlock.signature),
|
signature = shortLog(signedBlock.signature),
|
||||||
|
@ -2041,13 +2041,7 @@ proc installMessageValidators(node: BeaconNode) =
|
|||||||
|
|
||||||
# data_column_sidecar_{subnet_id}
|
# data_column_sidecar_{subnet_id}
|
||||||
#
|
#
|
||||||
let subnetCount =
|
for it in 0'u64 ..< DATA_COLUMN_SIDECAR_SUBNET_COUNT:
|
||||||
if node.config.subscribeAllSubnets:
|
|
||||||
DATA_COLUMN_SIDECAR_SUBNET_COUNT.uint64
|
|
||||||
else:
|
|
||||||
CUSTODY_REQUIREMENT.uint64
|
|
||||||
|
|
||||||
for it in 0'u64 ..< subnetCount:
|
|
||||||
closureScope: # Needed for inner `proc`; don't lift it out of loop.
|
closureScope: # Needed for inner `proc`; don't lift it out of loop.
|
||||||
let subnet_id = it
|
let subnet_id = it
|
||||||
node.network.addValidator(
|
node.network.addValidator(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user