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

feat(node/p2p): enable support for the peers RPC endpoint#1811

Merged
theochap merged 1 commit intomainfrom
theo/fully-implement-p2p-endpoints
May 20, 2025
Merged

feat(node/p2p): enable support for the peers RPC endpoint#1811
theochap merged 1 commit intomainfrom
theo/fully-implement-p2p-endpoints

Conversation

@theochap
Copy link
Copy Markdown
Member

@theochap theochap commented May 20, 2025

Description

To be able to properly test the kona-node synchronization primitives we need to add RPC methods that would allow to interact with the node's internal state.

This PR starts the implementation of the opp2p_peers endpoint. A series of follow-up PRs will complete the implementation

Progress towards #1562

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

codecov bot commented May 20, 2025

Codecov Report

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

Project coverage is 84.0%. Comparing base (7a9c6ec) to head (ebe7c75).
Report is 4 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% 105 Missing ⚠️
crates/node/p2p/src/discv5/handler.rs 0.0% 24 Missing ⚠️
crates/node/p2p/src/discv5/driver.rs 0.0% 10 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/fully-implement-p2p-endpoints branch 2 times, most recently from df8dabb to 549cd5a Compare May 20, 2025 01:24
Copy link
Copy Markdown
Contributor

@clabby clabby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice - good start.

@theochap theochap added the K-feature Kind: feature label May 20, 2025
@theochap theochap force-pushed the theo/fully-implement-p2p-endpoints branch from 549cd5a to ebe7c75 Compare May 20, 2025 02:35
@theochap theochap enabled auto-merge May 20, 2025 02:35
@theochap theochap added this pull request to the merge queue May 20, 2025
Merged via the queue into main with commit 33e47bf May 20, 2025
21 of 22 checks passed
@theochap theochap deleted the theo/fully-implement-p2p-endpoints branch May 20, 2025 03:19
@github-project-automation github-project-automation bot moved this from In Review to Done in Project Tracking May 20, 2025
theochap added a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
…#1811)

## Description

To be able to properly test the `kona-node` synchronization primitives
we need to add RPC methods that would allow to interact with the node's
internal state.

This PR starts the implementation of the `opp2p_peers` endpoint. A
series of follow-up PRs will complete the implementation

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

## Description

To be able to properly test the `kona-node` synchronization primitives
we need to add RPC methods that would allow to interact with the node's
internal state.

This PR starts the implementation of the `opp2p_peers` endpoint. A
series of follow-up PRs will complete the implementation

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.

2 participants