Disambiguate `AttesterSlashing` queue initialization

This commit is contained in:
Etan Kissling 2024-10-14 17:47:42 +02:00
parent 827a3a0bed
commit 00470365ff
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D
1 changed files with 2 additions and 2 deletions

View File

@ -636,7 +636,7 @@ proc init*(T: type BeaconNode,
exitQueue: newAsyncEventQueue[SignedVoluntaryExit](), exitQueue: newAsyncEventQueue[SignedVoluntaryExit](),
blsToExecQueue: newAsyncEventQueue[SignedBLSToExecutionChange](), blsToExecQueue: newAsyncEventQueue[SignedBLSToExecutionChange](),
propSlashQueue: newAsyncEventQueue[ProposerSlashing](), propSlashQueue: newAsyncEventQueue[ProposerSlashing](),
attSlashQueue: newAsyncEventQueue[AttesterSlashing](), attSlashQueue: newAsyncEventQueue[phase0.AttesterSlashing](),
blobSidecarQueue: newAsyncEventQueue[BlobSidecarInfoObject](), blobSidecarQueue: newAsyncEventQueue[BlobSidecarInfoObject](),
finalQueue: newAsyncEventQueue[FinalizationInfoObject](), finalQueue: newAsyncEventQueue[FinalizationInfoObject](),
reorgQueue: newAsyncEventQueue[ReorgInfoObject](), reorgQueue: newAsyncEventQueue[ReorgInfoObject](),
@ -1954,7 +1954,7 @@ proc installMessageValidators(node: BeaconNode) =
if contextFork != node.dag.cfg.consensusForkAtEpoch( if contextFork != node.dag.cfg.consensusForkAtEpoch(
blobSidecar.signed_block_header.message.slot.epoch): blobSidecar.signed_block_header.message.slot.epoch):
return ValidationResult.Reject return ValidationResult.Reject
toValidationResult( toValidationResult(
node.processor[].processBlobSidecar( node.processor[].processBlobSidecar(
MsgSource.gossip, blobSidecar, subnet_id))) MsgSource.gossip, blobSidecar, subnet_id)))