Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

feat(node/p2p): support user agent and protocol version in opp2p_peers rpc call#2018

Merged
theochap merged 2 commits intomainfrom
theo/add-peer-metadata
Jun 5, 2025
Merged

feat(node/p2p): support user agent and protocol version in opp2p_peers rpc call#2018
theochap merged 2 commits intomainfrom
theo/add-peer-metadata

Conversation

@theochap
Copy link
Copy Markdown
Member

@theochap theochap commented Jun 5, 2025

Description

Adds more fields to the opp2p_peers rpc call. In particular we now also support user-agent and protocol_version fields

Progress towards #1562

@theochap theochap self-assigned this Jun 5, 2025
@theochap theochap added K-feature Kind: feature A-node Area: cl node (eq. Go op-node) handles single-chain consensus A-rpc Area: rpc A-p2p Area: p2p labels Jun 5, 2025
@theochap theochap moved this to In Review in Project Tracking Jun 5, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 5, 2025

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 83.2%. Comparing base (ebb9231) to head (69b40aa).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
crates/node/p2p/src/rpc/request.rs 0.0% 14 Missing ⚠️
crates/node/p2p/src/gossip/behaviour.rs 0.0% 1 Missing ⚠️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@theochap theochap force-pushed the theo/add-peer-metadata branch from c8afad9 to 38054d9 Compare June 5, 2025 14:21
Base automatically changed from theo/fix-peers to main June 5, 2025 16:03
@theochap theochap force-pushed the theo/add-peer-metadata branch from 2588122 to 69b40aa Compare June 5, 2025 23:19
@theochap theochap enabled auto-merge June 5, 2025 23:19
@theochap theochap added this pull request to the merge queue Jun 5, 2025
Merged via the queue into main with commit 19e3ab5 Jun 5, 2025
22 of 23 checks passed
@theochap theochap deleted the theo/add-peer-metadata branch June 5, 2025 23:41
@github-project-automation github-project-automation bot moved this from In Review to Done in Project Tracking Jun 5, 2025
theochap added a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
…s rpc call (op-rs/kona#2018)

## Description

Adds more fields to the `opp2p_peers` rpc call. In particular we now
also support `user-agent` and `protocol_version` fields

Progress towards op-rs/kona#1562
theochap added a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
…s rpc call (op-rs/kona#2018)

## Description

Adds more fields to the `opp2p_peers` rpc call. In particular we now
also support `user-agent` and `protocol_version` fields

Progress towards #1562
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A-node Area: cl node (eq. Go op-node) handles single-chain consensus A-p2p Area: p2p A-rpc Area: rpc K-feature Kind: feature

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants