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

(cherry picked from commit 83527d9)

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
CriesofCarrots authored and mergify[bot] committed Jun 26, 2024
1 parent 04bceed commit 4333469
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 650 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,22 @@ Release channels have their own copy of this changelog:

<a name="edge-channel"></a>
## [2.1.0] - Unreleased
<<<<<<< HEAD
=======
* Changes
* SDK: removed the `respan` macro. This was marked as "internal use only" and was no longer used internally.
>>>>>>> 83527d9577 (Remove support for deprecated rpc endpoints (#1809))
## [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 4333469

Please sign in to comment.