Gate Deneb `beacon_block` subscription (#4735)
This commit is contained in:
parent
ceefc49965
commit
9906a0d5a2
|
@ -1467,6 +1467,7 @@ proc installMessageValidators(node: BeaconNode) =
|
||||||
toValidationResult(node.processor[].processSignedBeaconBlock(
|
toValidationResult(node.processor[].processSignedBeaconBlock(
|
||||||
MsgSource.gossip, signedBlock)))
|
MsgSource.gossip, signedBlock)))
|
||||||
|
|
||||||
|
if node.dag.cfg.DENEB_FORK_EPOCH != FAR_FUTURE_EPOCH:
|
||||||
node.network.addValidator(
|
node.network.addValidator(
|
||||||
getBeaconBlocksTopic(forkDigests.deneb),
|
getBeaconBlocksTopic(forkDigests.deneb),
|
||||||
proc (signedBlock: deneb.SignedBeaconBlock): ValidationResult =
|
proc (signedBlock: deneb.SignedBeaconBlock): ValidationResult =
|
||||||
|
|
Loading…
Reference in New Issue