File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,10 @@ pub enum RpcRequest {
94
94
GetStorageTurn ,
95
95
GetStorageTurnRate ,
96
96
GetSlotsPerSegment ,
97
+ #[ deprecated(
98
+ since = "1.18.18" ,
99
+ note = "Do not use; getStakeActivation is not supported by the JSON-RPC server."
100
+ ) ]
97
101
GetStakeActivation ,
98
102
GetStakeMinimumDelegation ,
99
103
GetStoragePubkeysForSlot ,
Original file line number Diff line number Diff line change @@ -2152,10 +2152,11 @@ impl RpcClient {
2152
2152
/// ```
2153
2153
#[ deprecated(
2154
2154
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 \
2157
2157
`Delegation::stake_activating_and_deactivating()` instead"
2158
2158
) ]
2159
+ #[ allow( deprecated) ]
2159
2160
pub async fn get_stake_activation (
2160
2161
& self ,
2161
2162
stake_account : Pubkey ,
Original file line number Diff line number Diff line change @@ -1790,8 +1790,8 @@ impl RpcClient {
1790
1790
/// ```
1791
1791
#[ deprecated(
1792
1792
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 \
1795
1795
`Delegation::stake_activating_and_deactivating()` instead"
1796
1796
) ]
1797
1797
#[ allow( deprecated) ]
You can’t perform that action at this time.
0 commit comments