Closed lorisleiva closed 3 weeks ago
Latest commit: ac099d67d5b86d2bd7cf7ff5203b39cba1df900b
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
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.