Skip to content

feat: ProposeSessionV2#104

Open
xDarksome wants to merge 7 commits intomainfrom
feat/propose-session-v2
Open

feat: ProposeSessionV2#104
xDarksome wants to merge 7 commits intomainfrom
feat/propose-session-v2

Conversation

@xDarksome
Copy link
Contributor

Description

Introduces a new wc_proposeSessionV2 method that returns pairing topic id instead of requiring it to be provided.

How Has This Been Tested?

Relay staging

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

Copilot AI review requested due to automatic review settings March 18, 2026 11:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds support in relay_rpc for a new JSON-RPC method wc_proposeSessionV2 intended to propose a session without the caller providing a pairing topic, and to return the pairing topic in the response.

Changes:

  • Generalizes ProposeSession to be generic over pairing_topic and introduces ProposeSessionV2 + ProposeSessionV2Response.
  • Adds Params::ProposeSessionV2 with wc_proposeSessionV2 serde rename and wires it into request validation.
  • Adds a helper intended to convert a V2 request into a V1 ProposeSession by injecting a pairing topic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copilot AI mentioned this pull request Mar 18, 2026
3 tasks
Copy link

Copilot AI commented Mar 18, 2026

@xDarksome I've opened a new pull request, #105, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 3 commits March 18, 2026 13:26
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: xDarksome <22872975+xDarksome@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants