Skip to content

Commit

Permalink
limit processBlobSidecar < Fulu
Browse files Browse the repository at this point in the history
  • Loading branch information
agnxsh committed Jan 27, 2025
1 parent f7728ca commit 7fa339c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion beacon_chain/nimbus_beacon_node.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,9 @@ proc addFuluMessageHandlers(
let topic = getDataColumnSidecarTopic(forkDigest, i)
node.network.subscribe(topic, basicParams)

for topic in blobSidecarTopics(forkDigest):
node.network.unsubscribe(topic)

proc removeAltairMessageHandlers(node: BeaconNode, forkDigest: ForkDigest) =
node.removePhase0MessageHandlers(forkDigest)

Expand Down Expand Up @@ -2159,7 +2162,8 @@ proc installMessageValidators(node: BeaconNode) =
await node.processor.processBlsToExecutionChange(
MsgSource.gossip, msg)))

when consensusFork >= ConsensusFork.Deneb:
when consensusFork >= ConsensusFork.Deneb and
consensusFork < ConsensusFork.Fulu:
# blob_sidecar_{subnet_id}
# https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.5/specs/deneb/p2p-interface.md#blob_sidecar_subnet_id
for it in BlobId:
Expand Down

0 comments on commit 7fa339c

Please sign in to comment.