Skip to content

Commit 40a8f0e

Browse files
committed
LINT
1 parent 777fc36 commit 40a8f0e

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

integration_tests/tests/fixtures/spl_stake_pool.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ pub enum AccountType {
166166
}
167167

168168
/// Initialized program details.
169+
#[allow(dead_code)]
169170
#[repr(C)]
170171
#[derive(Clone, Debug, Default, PartialEq, Eq)]
171172
pub struct StakePool {

integration_tests/tests/fixtures/stake_pool_client.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
#![allow(deprecated)] // using deprecated borsh to align with mainnet stake pool version
22
use super::spl_stake_pool::{
33
find_withdraw_authority_program_address, initialize as stake_pool_initialize,
4-
update_stake_pool_balance, Fee, StakePool, ValidatorList,
4+
update_stake_pool_balance, Fee, ValidatorList,
55
};
66
use jito_tip_router_core::constants::JITOSOL_MINT;
77
use solana_commitment_config::CommitmentLevel;
88
use solana_program::{borsh1::get_instance_packed_len, pubkey::Pubkey};
99
use solana_program_test::BanksClient;
1010
use solana_sdk::{
11-
borsh1::get_packed_len,
1211
signature::{Keypair, Signer},
1312
transaction::Transaction,
1413
};

tip-router-operator-cli/src/ledger_utils.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,6 @@ pub fn get_bank_from_snapshot_at_slot(
481481

482482
#[cfg(test)]
483483
mod tests {
484-
use crate::load_and_process_ledger::LEDGER_TOOL_DIRECTORY;
485-
486-
use solana_sdk::pubkey::Pubkey;
487-
488484
use super::*;
489485

490486
#[test]

tip-router-operator-cli/src/stake_meta_generator.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ mod tests {
265265
account::{from_account, AccountSharedData},
266266
message::Message,
267267
signature::{Keypair, Signer},
268-
sysvar,
269268
transaction::Transaction,
270269
};
271270
use solana_stake_interface::{

0 commit comments

Comments
 (0)