Skip to content

Commit

Permalink
Remove support for deprecated rpc endpoints (#1809)
Browse files Browse the repository at this point in the history
* Remove rpc_obsolete_v1_7

* Remove rpc_deprecated_v1_7

* Remove rpc_deprecated_v1_9

* Add CHANGELOG entry

* Add another CHANGELOG entry
  • Loading branch information
CriesofCarrots authored Jun 26, 2024
1 parent 0496b06 commit 83527d9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 651 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@ Release channels have their own copy of this changelog:

<a name="edge-channel"></a>
## [2.1.0] - Unreleased

* Changes
* SDK: removed the `respan` macro. This was marked as "internal use only" and was no longer used internally.

## [2.0.0]
* Breaking
* SDK: Support for Borsh v0.9 removed, please use v1 or v0.10 (#1440)
* SDK: `Copy` is no longer derived on `Rent` and `EpochSchedule`, please switch to using `clone()` (solana-labs#32767)
* RPC: obsolete and deprecated v1 endpoints are removed. These endpoints are:
confirmTransaction, getSignatureStatus, getSignatureConfirmation, getTotalSupply,
getConfirmedSignaturesForAddress, getConfirmedBlock, getConfirmedBlocks, getConfirmedBlocksWithLimit,
getConfirmedTransaction, getConfirmedSignaturesForAddress2, getRecentBlockhash, getFees,
getFeeCalculatorForBlockhash, getFeeRateGovernor, getSnapshotSlot
* `--enable-rpc-obsolete_v1_7` flag removed
* Changes
* `central-scheduler` as default option for `--block-production-method` (#34891)
* `solana-rpc-client-api`: `RpcFilterError` depends on `base64` version 0.22, so users may need to upgrade to `base64` version 0.22
Expand Down
2 changes: 1 addition & 1 deletion rpc-test/tests/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn test_rpc_send_tx() {

let bob_pubkey = solana_sdk::pubkey::new_rand();

let req = json_req!("getRecentBlockhash", json!([]));
let req = json_req!("getLatestBlockhash", json!([]));
let json = post_rpc(req, &rpc_url);

let blockhash: Hash = json["result"]["value"]["blockhash"]
Expand Down
Loading

0 comments on commit 83527d9

Please sign in to comment.