From ac91ae0b94114d31a604028fce7fdebd341f6187 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Mon, 8 Jul 2024 11:31:49 -0600 Subject: [PATCH] Remove getStakeActivation from mock_sender --- rpc-client/src/mock_sender.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/rpc-client/src/mock_sender.rs b/rpc-client/src/mock_sender.rs index f5956059bbc4d2..9730a6ff24a983 100644 --- a/rpc-client/src/mock_sender.rs +++ b/rpc-client/src/mock_sender.rs @@ -15,8 +15,8 @@ use { RpcConfirmedTransactionStatusWithSignature, RpcContactInfo, RpcIdentity, RpcInflationGovernor, RpcInflationRate, RpcInflationReward, RpcKeyedAccount, RpcPerfSample, RpcPrioritizationFee, RpcResponseContext, RpcSimulateTransactionResult, - RpcSnapshotSlotInfo, RpcStakeActivation, RpcSupply, RpcVersionInfo, RpcVoteAccountInfo, - RpcVoteAccountStatus, StakeActivationState, + RpcSnapshotSlotInfo, RpcSupply, RpcVersionInfo, RpcVoteAccountInfo, + RpcVoteAccountStatus, }, }, solana_sdk::{ @@ -253,11 +253,6 @@ impl RpcSender for MockSender { }) } } - "getStakeActivation" => json!(RpcStakeActivation { - state: StakeActivationState::Activating, - active: 123, - inactive: 12, - }), "getStakeMinimumDelegation" => json!(Response { context: RpcResponseContext { slot: 1, api_version: None }, value: 123_456_789,