From 6097367305ac10a4cfd17b37cf17baf3d9ecb96e Mon Sep 17 00:00:00 2001 From: godmodegalactus Date: Mon, 21 Oct 2024 16:40:29 +0200 Subject: [PATCH] fixing warnings and adding missing cargo file --- lib/router-lib/src/test_tools/generate_dex_rpc_dump.rs | 3 --- programs/simulator/Cargo.toml | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/router-lib/src/test_tools/generate_dex_rpc_dump.rs b/lib/router-lib/src/test_tools/generate_dex_rpc_dump.rs index 0c3eba5..e3720da 100644 --- a/lib/router-lib/src/test_tools/generate_dex_rpc_dump.rs +++ b/lib/router-lib/src/test_tools/generate_dex_rpc_dump.rs @@ -8,17 +8,14 @@ use itertools::Itertools; use mango_feeds_connector::chain_data::AccountData; use router_feed_lib::router_rpc_client::{RouterRpcClient, RouterRpcClientTrait}; use router_test_lib::{execution_dump, serialize}; -use serde::Deserialize; use sha2::{Digest, Sha256}; use solana_sdk::account::ReadableAccount; use solana_sdk::bpf_loader_upgradeable::UpgradeableLoaderState; use solana_sdk::clock::Clock; -use solana_sdk::config::program; use solana_sdk::pubkey::Pubkey; use solana_sdk::signature::Keypair; use solana_sdk::signer::Signer; use solana_sdk::sysvar::SysvarId; -use std::str::FromStr; use std::sync::Arc; use tracing::{debug, error}; diff --git a/programs/simulator/Cargo.toml b/programs/simulator/Cargo.toml index 4f2309a..ce37c56 100644 --- a/programs/simulator/Cargo.toml +++ b/programs/simulator/Cargo.toml @@ -31,3 +31,8 @@ bonfida-test-utils = "0.4.4" log = "0.4.14" env_logger = "0.9.0" bincode = "1.3.3" +sha2 = "0.10.8" +base64 = "0.12.3" + +[profile.test] +inherits = "release" \ No newline at end of file