Skip to content
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

feat: Agave v2 RPC: replace getConfirmedTransaction with getTransaction #3418

Open
wants to merge 1 commit into
base: 10-23-feat_agave_v2_rpc_replace_getconfirmedblock_with_getblock_
Choose a base branch
from

Conversation

buffalojoec
Copy link
Collaborator

@buffalojoec buffalojoec commented Oct 23, 2024

Problem

With the upcoming upgrade from 1.18 to 2.0 on Solana mainnet-beta, deprecated RPC methods have been removed, therefore they will no longer be available through Web3.js client requests.

The Agave 2.0 Migration Guide lists semi-equivalent RPC method counterparts for each of the removed methods.

Summary of Changes

Replace getConfirmedTransaction with getTransaction. This method was already requiring a confirmation level of confirmed or finalized, so the behavior should be unchanged.

Copy link

changeset-bot bot commented Oct 23, 2024

⚠️ No Changeset found

Latest commit: f96e4d2

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.

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

Copy link
Collaborator Author

buffalojoec commented Oct 23, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @buffalojoec and the rest of your teammates on Graphite Graphite

@buffalojoec buffalojoec force-pushed the 10-23-feat_agave_v2_rpc_replace_getconfirmedblock_with_getblock_ branch from 2fe2282 to 6acd1dc Compare October 29, 2024 07:05
@buffalojoec buffalojoec force-pushed the 10-23-feat_agave_v2_rpc_replace_getconfirmedtransaction_with_gettransaction_ branch from 950dba5 to ee67085 Compare October 29, 2024 07:05
@buffalojoec buffalojoec marked this pull request as ready for review October 29, 2024 07:05
@buffalojoec buffalojoec force-pushed the 10-23-feat_agave_v2_rpc_replace_getconfirmedblock_with_getblock_ branch from 6acd1dc to 22a65a5 Compare October 29, 2024 09:54
@buffalojoec buffalojoec force-pushed the 10-23-feat_agave_v2_rpc_replace_getconfirmedtransaction_with_gettransaction_ branch from ee67085 to f96e4d2 Compare October 29, 2024 09:54
@github-actions github-actions bot added the stale label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants