-
Notifications
You must be signed in to change notification settings - Fork 906
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 getConfirmedBlock
with getBlock
#3417
feat: Agave v2 RPC: replace getConfirmedBlock
with getBlock
#3417
Conversation
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
2fe2282
to
6acd1dc
Compare
6acd1dc
to
22a65a5
Compare
22a65a5
to
77b6e59
Compare
77b6e59
to
c35251a
Compare
c35251a
to
6607d91
Compare
6607d91
to
e730045
Compare
🎉 This PR is included in version 1.96.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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
getConfirmedBlock
withgetBlock
. This method was already requiring a confirmation level ofconfirmed
orfinalized
, so the behavior should be unchanged.