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](),
blsToExecQueue: newAsyncEventQueue[SignedBLSToExecutionChange](),
propSlashQueue: newAsyncEventQueue[ProposerSlashing](),
attSlashQueue: newAsyncEventQueue[AttesterSlashing](),
attSlashQueue: newAsyncEventQueue[phase0.AttesterSlashing](),
blobSidecarQueue: newAsyncEventQueue[BlobSidecarInfoObject](),
finalQueue: newAsyncEventQueue[FinalizationInfoObject](),
reorgQueue: newAsyncEventQueue[ReorgInfoObject](),
@ -1954,7 +1954,7 @@ proc installMessageValidators(node: BeaconNode) =
if contextFork != node.dag.cfg.consensusForkAtEpoch(
blobSidecar.signed_block_header.message.slot.epoch):
return ValidationResult.Reject
toValidationResult(
node.processor[].processBlobSidecar(
MsgSource.gossip, blobSidecar, subnet_id)))