Skip to content

devnet cleanup on republish inbound gossip blocks#110

Merged
ArtiomTr merged 1 commit into
grandinetech:devnet-5from
bomanaps:fix/no-republish-inbound-block
Jul 1, 2026
Merged

devnet cleanup on republish inbound gossip blocks#110
ArtiomTr merged 1 commit into
grandinetech:devnet-5from
bomanaps:fix/no-republish-inbound-block

Conversation

@bomanaps

@bomanaps bomanaps commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Cleanup

signed_block,
is_trusted: false,
should_gossip: true,
should_gossip: false,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we re-gossip blocks, received via P2P?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to because gossipsub's mesh already forwards inbound blocks to our other peers, so calling publish() on them just hits Duplicate, which is why we set should_gossip false on every other peer-received path RPC by-root/by-range, gossip attestation, gossip aggregation and only flip it true for our own-produced blocks and attestations.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, sounds good

@ArtiomTr ArtiomTr merged commit dbadabd into grandinetech:devnet-5 Jul 1, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants