remove some anchor imports

This commit is contained in:
GroovieGermanikus 2023-08-29 11:00:34 +02:00
parent 292592b62c
commit 68f4c44232
4 changed files with 12 additions and 15 deletions

View File

@ -2,7 +2,7 @@ pub mod memory_target;
pub mod postgres_types_numeric;
pub mod serum;
use anchor_lang::prelude::Pubkey;
use solana_sdk::pubkey::Pubkey;
use serde::{ser::SerializeStruct, Serialize, Serializer};
use serde_derive::Deserialize;

View File

@ -4,11 +4,10 @@ mod openbook_crank_sink;
mod transaction_builder;
mod transaction_sender;
use anchor_client::{
solana_sdk::{commitment_config::CommitmentConfig, signature::Keypair},
Cluster,
};
use anchor_lang::prelude::Pubkey;
use solana_sdk::commitment_config::CommitmentConfig;
use solana_sdk::signature::Keypair;
use solana_sdk::pubkey::Pubkey;
use anchor_client::Cluster;
use bytemuck::bytes_of;
use log::*;
use mango_v4_client::{Client, MangoGroupContext, TransactionBuilderConfig};

View File

@ -1,10 +1,9 @@
mod fill_event_filter;
mod fill_event_postgres_target;
use anchor_client::{
solana_sdk::{commitment_config::CommitmentConfig, signature::Keypair},
Cluster,
};
use solana_sdk::commitment_config::CommitmentConfig;
use solana_sdk::signature::Keypair;
use anchor_client::Cluster;
use anchor_lang::prelude::Pubkey;
use futures_channel::mpsc::{unbounded, UnboundedSender};
use futures_util::{

View File

@ -1,10 +1,9 @@
mod orderbook_filter;
use anchor_client::{
solana_sdk::{commitment_config::CommitmentConfig, signature::Keypair},
Cluster,
};
use anchor_lang::prelude::Pubkey;
use solana_sdk::commitment_config::CommitmentConfig;
use solana_sdk::signature::Keypair;
use anchor_client::Cluster;
use solana_sdk::pubkey::Pubkey;
use futures_channel::mpsc::{unbounded, UnboundedSender};
use futures_util::{
future::{self, Ready},