Disambiguate `AttesterSlashing` queue initialization
This commit is contained in:
parent
827a3a0bed
commit
00470365ff
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue