Skip to content

Commit 42b95a1

Browse files
committed
fix: undo remove comments
1 parent 5769d14 commit 42b95a1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

tests/consensus/devnet/networking/test_gossip_message_id.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"""Hex-encoded topic bytes for the devnet0 block topic string."""
1616

1717

18+
# --- Valid snappy domain ---
19+
20+
1821
def test_message_id_valid_snappy(networking_codec: NetworkingCodecTestFiller) -> None:
1922
"""Message ID with valid-snappy domain and typical block data."""
2023
networking_codec(
@@ -39,6 +42,9 @@ def test_message_id_valid_snappy_large_payload(networking_codec: NetworkingCodec
3942
)
4043

4144

45+
# --- Invalid snappy domain ---
46+
47+
4248
def test_message_id_invalid_snappy(networking_codec: NetworkingCodecTestFiller) -> None:
4349
"""Message ID with invalid-snappy domain and same data as the valid test."""
4450
networking_codec(
@@ -51,6 +57,9 @@ def test_message_id_invalid_snappy(networking_codec: NetworkingCodecTestFiller)
5157
)
5258

5359

60+
# --- Empty inputs ---
61+
62+
5463
def test_message_id_empty_data(networking_codec: NetworkingCodecTestFiller) -> None:
5564
"""Message ID with empty payload."""
5665
networking_codec(
@@ -87,6 +96,9 @@ def test_message_id_both_empty(networking_codec: NetworkingCodecTestFiller) -> N
8796
)
8897

8998

99+
# --- Domain differentiation ---
100+
101+
90102
def test_message_id_domain_changes_id(networking_codec: NetworkingCodecTestFiller) -> None:
91103
"""Same topic and data with invalid-snappy domain produces a different ID."""
92104
networking_codec(

0 commit comments

Comments
 (0)