diff --git a/src/lean_spec/__main__.py b/src/lean_spec/__main__.py index f2ce47d2b..57577cc9b 100644 --- a/src/lean_spec/__main__.py +++ b/src/lean_spec/__main__.py @@ -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. diff --git a/src/lean_spec/forks/lstar/spec.py b/src/lean_spec/forks/lstar/spec.py index 9177cc3c1..c5b845b76 100644 --- a/src/lean_spec/forks/lstar/spec.py +++ b/src/lean_spec/forks/lstar/spec.py @@ -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 diff --git a/src/lean_spec/subspecs/node/node.py b/src/lean_spec/subspecs/node/node.py index ff184f13c..450e420a4 100644 --- a/src/lean_spec/subspecs/node/node.py +++ b/src/lean_spec/subspecs/node/node.py @@ -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) diff --git a/tests/interop/helpers/node_runner.py b/tests/interop/helpers/node_runner.py index 84ad6a686..73c968a99 100644 --- a/tests/interop/helpers/node_runner.py +++ b/tests/interop/helpers/node_runner.py @@ -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: diff --git a/tests/lean_spec/forks/test_fork_protocol.py b/tests/lean_spec/forks/test_fork_protocol.py index 8d5038935..27b776c50 100644 --- a/tests/lean_spec/forks/test_fork_protocol.py +++ b/tests/lean_spec/forks/test_fork_protocol.py @@ -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."""