From 548e6e7c0ef1443162759f9e1a443bc261648d6b Mon Sep 17 00:00:00 2001 From: Thomas Coratger Date: Thu, 12 Feb 2026 11:46:08 +0100 Subject: [PATCH] documentation: replace wrong p2p interface link --- src/lean_spec/subspecs/networking/client/event_source.py | 2 +- src/lean_spec/subspecs/networking/enr/eth2.py | 2 +- src/lean_spec/subspecs/networking/gossipsub/__init__.py | 2 +- src/lean_spec/subspecs/networking/gossipsub/message.py | 2 +- src/lean_spec/subspecs/networking/gossipsub/parameters.py | 2 +- src/lean_spec/subspecs/networking/gossipsub/topic.py | 2 +- src/lean_spec/subspecs/networking/reqresp/codec.py | 4 ++-- src/lean_spec/subspecs/networking/reqresp/handler.py | 2 +- src/lean_spec/subspecs/networking/types.py | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lean_spec/subspecs/networking/client/event_source.py b/src/lean_spec/subspecs/networking/client/event_source.py index 2f5a3e3c..e70ac404 100644 --- a/src/lean_spec/subspecs/networking/client/event_source.py +++ b/src/lean_spec/subspecs/networking/client/event_source.py @@ -92,7 +92,7 @@ References: - - Ethereum P2P spec: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md + - Ethereum P2P spec: https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md - Gossipsub v1.1: https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md - SSZ spec: https://github.com/ethereum/consensus-specs/blob/dev/ssz/simple-serialize.md - Snappy format: https://github.com/google/snappy/blob/main/format_description.txt diff --git a/src/lean_spec/subspecs/networking/enr/eth2.py b/src/lean_spec/subspecs/networking/enr/eth2.py index 3862b175..e8763361 100644 --- a/src/lean_spec/subspecs/networking/enr/eth2.py +++ b/src/lean_spec/subspecs/networking/enr/eth2.py @@ -13,7 +13,7 @@ - attnets: Bitvector[64] - attestation subnets (bit i = subscribed to subnet i) - syncnets: Bitvector[4] - sync committee subnets -See: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md +See: https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md """ from typing import ClassVar diff --git a/src/lean_spec/subspecs/networking/gossipsub/__init__.py b/src/lean_spec/subspecs/networking/gossipsub/__init__.py index f48a6137..af4e7fac 100644 --- a/src/lean_spec/subspecs/networking/gossipsub/__init__.py +++ b/src/lean_spec/subspecs/networking/gossipsub/__init__.py @@ -19,7 +19,7 @@ ---------- - Gossipsub v1.0: https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.0.md - Gossipsub v1.2: https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.2.md -- Ethereum P2P: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md +- Ethereum P2P: https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md """ from .behavior import ( diff --git a/src/lean_spec/subspecs/networking/gossipsub/message.py b/src/lean_spec/subspecs/networking/gossipsub/message.py index 8de8a1aa..9c5e5ac1 100644 --- a/src/lean_spec/subspecs/networking/gossipsub/message.py +++ b/src/lean_spec/subspecs/networking/gossipsub/message.py @@ -48,7 +48,7 @@ References: ---------- -- `Ethereum P2P spec `_ +- `Ethereum P2P spec `_ - `Gossipsub v1.0 `_ """ diff --git a/src/lean_spec/subspecs/networking/gossipsub/parameters.py b/src/lean_spec/subspecs/networking/gossipsub/parameters.py index b5a881ef..e7f66df9 100644 --- a/src/lean_spec/subspecs/networking/gossipsub/parameters.py +++ b/src/lean_spec/subspecs/networking/gossipsub/parameters.py @@ -52,7 +52,7 @@ References: ---------- -- Ethereum P2P spec: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md +- Ethereum P2P spec: https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md - Gossipsub v1.0: https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.0.md - Gossipsub v1.2: https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.2.md """ diff --git a/src/lean_spec/subspecs/networking/gossipsub/topic.py b/src/lean_spec/subspecs/networking/gossipsub/topic.py index 02ada3f0..c4b58ea1 100644 --- a/src/lean_spec/subspecs/networking/gossipsub/topic.py +++ b/src/lean_spec/subspecs/networking/gossipsub/topic.py @@ -53,7 +53,7 @@ References: ---------- -- Ethereum P2P: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md +- Ethereum P2P: https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md """ from __future__ import annotations diff --git a/src/lean_spec/subspecs/networking/reqresp/codec.py b/src/lean_spec/subspecs/networking/reqresp/codec.py index 33a3cbd9..96f4aac9 100644 --- a/src/lean_spec/subspecs/networking/reqresp/codec.py +++ b/src/lean_spec/subspecs/networking/reqresp/codec.py @@ -64,7 +64,7 @@ References: Ethereum P2P spec: - https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md + https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md LEB128 encoding: https://en.wikipedia.org/wiki/LEB128 Snappy framing: @@ -210,7 +210,7 @@ class ResponseCode(IntEnum): - Codes 128-255: Treated as INVALID_REQUEST (invalid range). Reference: - https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md + https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md """ SUCCESS = 0 diff --git a/src/lean_spec/subspecs/networking/reqresp/handler.py b/src/lean_spec/subspecs/networking/reqresp/handler.py index c32c29f4..d92a7cfd 100644 --- a/src/lean_spec/subspecs/networking/reqresp/handler.py +++ b/src/lean_spec/subspecs/networking/reqresp/handler.py @@ -65,7 +65,7 @@ References: Ethereum P2P spec: - https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md + https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md Wire format details: See codec.py in this package """ diff --git a/src/lean_spec/subspecs/networking/types.py b/src/lean_spec/subspecs/networking/types.py index b427770d..f4b290ff 100644 --- a/src/lean_spec/subspecs/networking/types.py +++ b/src/lean_spec/subspecs/networking/types.py @@ -81,7 +81,7 @@ class GoodbyeReason(IntEnum): References: ----------- - - Goodbye spec: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#goodbye-v1 + - Goodbye spec: https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/p2p-interface.md#goodbye-v1 """ CLIENT_SHUTDOWN = 1