make reconstruct and broadcast right after performing validator duties
This commit is contained in:
parent
0034fea1d6
commit
f142dcd36f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue