-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add createHttpTransportForSolanaRpc
function
#3196
Conversation
🦋 Changeset detectedLatest commit: ac099d6 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 stack of pull requests is managed by Graphite. Learn more about stacking. Join @lorisleiva and the rest of your teammates on Graphite |
fa57791
to
94e1ede
Compare
63f1c2f
to
7d05aec
Compare
94e1ede
to
4d54dbb
Compare
fbb79ae
to
f1f5511
Compare
4d54dbb
to
37e83c2
Compare
f1f5511
to
1c162f6
Compare
37e83c2
to
d3a3d56
Compare
1c162f6
to
ad1559a
Compare
d3a3d56
to
cdf7109
Compare
ad1559a
to
674b13b
Compare
cdf7109
to
9f89fc6
Compare
674b13b
to
6b996b2
Compare
9f89fc6
to
b159be0
Compare
6b996b2
to
f6f7579
Compare
b159be0
to
26af60a
Compare
f6f7579
to
e5a3363
Compare
26af60a
to
5c4c50b
Compare
e5a3363
to
db92783
Compare
5c4c50b
to
2d06c42
Compare
db92783
to
6163547
Compare
2d06c42
to
d566b79
Compare
6163547
to
c3c60e2
Compare
d566b79
to
7dbb7d1
Compare
868cda0
to
ce1d907
Compare
7dbb7d1
to
f2d3b70
Compare
ce1d907
to
584fd59
Compare
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.
Merge activity
|
584fd59
to
ac099d6
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. |
This PR creates a new HTTP transport specific to the Solana RPC API that prevents loss of precision for large integers, in both the request and the response of the RPC cycle.
It does so by using the previously added helpers:
isSolanaRequest
: to figure out if we should customise the way we parse/stringify the response/request respectively.parseJsonWithBigInts
: for our customfromJson
option, if a Solana request has been identified.stringifyJsonWithBigInts
: for our customtoJson
option, if a Solana request has been identified.