Skip to content

feat(sdk): refactor into single messenger class#2118

Merged
smartcontracts merged 1 commit intodevelopfrom
sc/sdk-single-provider
Feb 3, 2022
Merged

feat(sdk): refactor into single messenger class#2118
smartcontracts merged 1 commit intodevelopfrom
sc/sdk-single-provider

Conversation

@smartcontracts
Copy link
Copy Markdown
Contributor

Description
This PR refactors the CrossChainProvider and CrossChainMessenger classes into a single unified class. This is significantly cleaner and avoids the headache of flipping between the two objects constantly.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 2, 2022

⚠️ No Changeset found

Latest commit: 77bd8df

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@smartcontracts smartcontracts merged commit b6dedc3 into develop Feb 3, 2022
@smartcontracts smartcontracts deleted the sc/sdk-single-provider branch February 3, 2022 03:11
theochap added a commit that referenced this pull request Dec 10, 2025
## Description

This PR completes the implementation of the `opp2p_peers` RPC endpoint
by exposing the `peer_score` through the endpoint.

Given a peer, computes the score output for `RPC` by averaging the peer
topic score over the topics the peer is connected to.

Close #1562
theochap added a commit that referenced this pull request Dec 10, 2025
…ore (#2121)

## Description

This PR amends some of the changes from #2118 to only serve the total
peer score inside `opp2p_peers`, as this is the only field supported by
`rust_libp2p` as of now.

See libp2p/rust-libp2p#6058
theochap added a commit that referenced this pull request Jan 14, 2026
…ore (op-rs/kona#2121)

## Description

This PR amends some of the changes from #2118 to only serve the total
peer score inside `opp2p_peers`, as this is the only field supported by
`rust_libp2p` as of now.

See libp2p/rust-libp2p#6058
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.

2 participants