This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,10 @@ pub enum RpcRequest {
9494 GetStorageTurn ,
9595 GetStorageTurnRate ,
9696 GetSlotsPerSegment ,
97+ #[ deprecated(
98+ since = "1.18.18" ,
99+ note = "Do not use; getStakeActivation is not supported by the JSON-RPC server."
100+ ) ]
97101 GetStakeActivation ,
98102 GetStakeMinimumDelegation ,
99103 GetStoragePubkeysForSlot ,
Original file line number Diff line number Diff line change @@ -2152,10 +2152,11 @@ impl RpcClient {
21522152 /// ```
21532153 #[ deprecated(
21542154 since = "1.18.18" ,
2155- note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server. Please use \
2156- the stake account and StakeHistory sysvar to call \
2155+ note = "Do not use; getStakeActivation is not supported by the JSON-RPC server. Please \
2156+ use the stake account and StakeHistory sysvar to call \
21572157 `Delegation::stake_activating_and_deactivating()` instead"
21582158 ) ]
2159+ #[ allow( deprecated) ]
21592160 pub async fn get_stake_activation (
21602161 & self ,
21612162 stake_account : Pubkey ,
Original file line number Diff line number Diff line change @@ -1790,8 +1790,8 @@ impl RpcClient {
17901790 /// ```
17911791 #[ deprecated(
17921792 since = "1.18.18" ,
1793- note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server. Please use \
1794- the stake account and StakeHistory sysvar to call \
1793+ note = "Do not use; getStakeActivation is not supported by the JSON-RPC server. Please \
1794+ use the stake account and StakeHistory sysvar to call \
17951795 `Delegation::stake_activating_and_deactivating()` instead"
17961796 ) ]
17971797 #[ allow( deprecated) ]
You can’t perform that action at this time.
0 commit comments