Skip to content

Commit

Permalink
fix: use T1 for sending chunk endorsements (#12632)
Browse files Browse the repository at this point in the history
We missed that when refactoring chunk endorsement logic. The old
`ChunkEndorsement` message was removed in #12131, but we forgot to add
the new message introduced in #11091.
I've noticed that by looking at mainnet metrics where
`VersionedChunkEndorsement` message is only sent via T2.
  • Loading branch information
pugachAG authored Dec 16, 2024
1 parent 164dc48 commit a794080
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chain/network/src/peer_manager/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ impl tcp::Tier {
pub(crate) fn is_allowed_routed(self, body: &RoutedMessageBody) -> bool {
match body {
RoutedMessageBody::BlockApproval(..)
| RoutedMessageBody::VersionedChunkEndorsement(..)
| RoutedMessageBody::PartialEncodedStateWitness(..)
| RoutedMessageBody::PartialEncodedStateWitnessForward(..)
| RoutedMessageBody::VersionedPartialEncodedChunk(..)
Expand Down

0 comments on commit a794080

Please sign in to comment.