Skip to content

Commit 38ff3ef

Browse files
committed
add a separate disable flag for reconstruction
1 parent 2f76951 commit 38ff3ef

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

beacon_chain/conf.nim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,11 @@ type
231231
desc: "Subscribe to the first half of column subnets"
232232
name: "light-supernode" .}: bool
233233

234+
debugDisableReconstruction* {.
235+
defaultValue: true,
236+
desc: "Disables column reconstruction for the currently running beacon node"
237+
name: "debug-disable-reconstruction" .}: bool
238+
234239
slashingDbKind* {.
235240
hidden
236241
defaultValue: SlashingDbKind.v2

beacon_chain/nimbus_beacon_node.nim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1776,6 +1776,10 @@ proc reconstructDataColumns(node: BeaconNode, slot: Slot) =
17761776
node.dag.cfg.NUMBER_OF_CUSTODY_GROUPS div 2:
17771777
return
17781778

1779+
# Currently, this logic is broken
1780+
if node.config.debugDisableReconstruction:
1781+
return
1782+
17791783
logScope:
17801784
slot = slot
17811785

0 commit comments

Comments
 (0)