From f142dcd36fff22c1f0b1e77d1a14134399a0f114 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Mon, 19 Aug 2024 21:33:40 +0530 Subject: [PATCH] make reconstruct and broadcast right after performing validator duties --- beacon_chain/nimbus_beacon_node.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index 52ba77b77..6f71e1307 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -1563,7 +1563,6 @@ proc reconstructAndSendDataColumns*(node: BeaconNode) {.async.} = proc onSlotEnd(node: BeaconNode, slot: Slot) {.async.} = # Things we do when slot processing has ended and we're about to wait for the # next slot - await node.reconstructAndSendDataColumns() # By waiting until close before slot end, ensure that preparation for next # slot does not interfere with propagation of messages and with VC duties. @@ -1830,7 +1829,7 @@ proc onSlotStart(node: BeaconNode, wallTime: BeaconTime, node.consensusManager[].updateHead(wallSlot) await node.handleValidatorDuties(lastSlot, wallSlot) - + await node.reconstructAndSendDataColumns() await onSlotEnd(node, wallSlot) # https://github.com/ethereum/builder-specs/blob/v0.4.0/specs/bellatrix/validator.md#registration-dissemination