This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 918
Move RpcRequest and RpcResponse types to rpc-spec-types #3393
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: dccdeba The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This was referenced Oct 17, 2024
lorisleiva
force-pushed
the
loris/remove-unused-rpcs-type
branch
from
October 18, 2024 08:33
290bef4
to
9b9a3b5
Compare
lorisleiva
force-pushed
the
loris/move-rpc-request-response
branch
from
October 18, 2024 08:33
164e37c
to
ba813b0
Compare
lorisleiva
force-pushed
the
loris/remove-unused-rpcs-type
branch
3 times, most recently
from
October 18, 2024 09:20
1c68cd2
to
601d031
Compare
lorisleiva
force-pushed
the
loris/move-rpc-request-response
branch
from
October 18, 2024 09:20
ba813b0
to
a9597b9
Compare
lorisleiva
force-pushed
the
loris/move-rpc-request-response
branch
2 times, most recently
from
October 18, 2024 13:12
f1cee41
to
580ac5d
Compare
lorisleiva
force-pushed
the
loris/remove-unused-rpcs-type
branch
from
October 21, 2024 11:11
601d031
to
ba88104
Compare
lorisleiva
force-pushed
the
loris/move-rpc-request-response
branch
from
October 21, 2024 11:11
580ac5d
to
b965d83
Compare
This was referenced Oct 21, 2024
mcintyre94
approved these changes
Oct 22, 2024
steveluscher
approved these changes
Oct 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lorisleiva
changed the base branch from
loris/remove-unused-rpcs-type
to
graphite-base/3393
October 23, 2024 08:43
lorisleiva
force-pushed
the
loris/move-rpc-request-response
branch
from
October 23, 2024 08:46
b965d83
to
dccdeba
Compare
Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
One of the goals of this stack is to eventually make
RpcRequestTransformers
andRpcResponseTransformers
usable on both RPC and RPC Subscriptions architectures. This was the original intention of therpc-transformers
package which already hosts request and response transformers for both but with inconsistent types.As such, this PR aims to get closer to this goal by moving the
RpcRequest
,RpcResponse
,RpcRequestTransformer
andRpcResponseTransformer
types from therpc-spec
package to therpc-spec-types
package.As a reminder the
rpc-spec
andrpc-subscriptions-spec
packages define the interfaces of the RPC and RPC Subscriptions architectures respectively, whereas, therpc-spec-types
package is a utility package that is imported by both of the former packages.Note that, the
rpc-spec-types
package is now being exported from the main library because re-exporting that package in bothrpc
andrpc-subscriptions
would be problematic for the main library that re-exports both.Addresses solana-labs/web3.js-issue-conveyer#10.