Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lean_spec/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ async def run_node(
# Set the network name for incoming message validation.
#
# Without this, the event source defaults to "0x00000000" and rejects
# all messages from other clients that use "devnet0".
# all messages from other clients that use "12345678".
event_source.set_network_name(fork.GOSSIP_DIGEST)

# Subscribe to gossip topics.
Expand Down
2 changes: 1 addition & 1 deletion src/lean_spec/forks/lstar/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class LstarSpec(ForkProtocol):

NAME: ClassVar[str] = "lstar"
VERSION: ClassVar[int] = 4
GOSSIP_DIGEST: ClassVar[str] = "devnet0"
GOSSIP_DIGEST: ClassVar[str] = "12345678"

previous: ClassVar[type[ForkProtocol] | None] = None

Expand Down
2 changes: 1 addition & 1 deletion src/lean_spec/subspecs/node/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class NodeConfig:
"""
Network name for gossip topics.

For devnet testing with ream, use "devnet0".
For devnet testing with ream, use "12345678".
"""

is_aggregator: bool = field(default=False)
Expand Down
2 changes: 1 addition & 1 deletion tests/interop/helpers/node_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class NodeCluster:
_genesis_time: int = field(default=0, repr=False)
"""Genesis time for all nodes."""

network_name: str = field(default="devnet0")
network_name: str = field(default="12345678")
"""Network name for gossip topics."""

def __post_init__(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/lean_spec/forks/test_fork_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_identity(self) -> None:

def test_gossip_digest(self) -> None:
"""LstarSpec carries the gossipsub fork digest as fork metadata."""
assert LstarSpec.GOSSIP_DIGEST == "devnet0"
assert LstarSpec.GOSSIP_DIGEST == "12345678"

def test_previous_is_none(self) -> None:
"""LstarSpec is the root of the upgrade chain."""
Expand Down