Skip to content

Commit 8bd58de

Browse files
authored
fix: deprecate the getStakeActivation RPC method (#2864)
This was deprecated in anza-xyz/agave#69
1 parent daf9691 commit 8bd58de

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/library-legacy/src/connection.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3640,6 +3640,8 @@ export class Connection {
36403640

36413641
/**
36423642
* Returns epoch activation information for a stake account that has been delegated
3643+
*
3644+
* @deprecated Deprecated since RPC v1.18; will be removed in a future version.
36433645
*/
36443646
async getStakeActivation(
36453647
publicKey: PublicKey,

packages/rpc-api/src/getStakeActivation.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ type GetStakeActivationApiResponse = Readonly<{
1414
export interface GetStakeActivationApi extends RpcApiMethods {
1515
/**
1616
* Returns epoch activation information for a stake account
17+
*
18+
* @deprecated Deprecated since RPC v1.18; will be removed in a future version.
1719
*/
1820
getStakeActivation(
1921
address: Address,

0 commit comments

Comments
 (0)