Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Aug 20, 2024
1 parent e9e8d7c commit 7a915aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
17 changes: 3 additions & 14 deletions staking/integration-tests/src/integrity_pool/helper_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,13 @@ use {
get_pool_config_address,
get_pool_reward_custody_address,
},
crate::{
governance::instructions::{
cast_vote,
create_proposal,
},
solana::{
instructions::{
airdrop_spl,
initialize_ata,
},
utils::fetch_governance_account_data,
},
crate::solana::instructions::{
airdrop_spl,
initialize_ata,
},
anchor_lang::solana_program::pubkey::Pubkey,
integrity_pool::utils::types::FRAC_64_MULTIPLIER,
litesvm::LiteSVM,
solana_sdk::signature::Keypair,
spl_governance::state::proposal::ProposalV2,
};


Expand Down
9 changes: 1 addition & 8 deletions staking/integration-tests/tests/voting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ use {
governance::{
addresses::MAINNET_GOVERNANCE_PROGRAM_ID,
helper_functions::create_proposal_and_vote,
instructions::{
cast_vote,
create_proposal,
create_token_owner_record,
},
instructions::create_token_owner_record,
},
setup::{
setup,
Expand All @@ -17,7 +13,6 @@ use {
},
solana::utils::{
fetch_account_data,
fetch_governance_account_data,
fetch_positions_account,
},
staking::{
Expand All @@ -43,10 +38,8 @@ use {
WritableAccount,
},
pubkey::Pubkey,
signature::Keypair,
signer::Signer,
},
spl_governance::state::proposal::ProposalV2,
staking::state::{
max_voter_weight_record::MAX_VOTER_WEIGHT,
positions::{
Expand Down

0 comments on commit 7a915aa

Please sign in to comment.