diff --git a/Cargo.toml b/Cargo.toml index 3befc86..2f69227 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,9 @@ tokio-tungstenite = { version = "0.21.0", features = ["native-tls"] } regex = "1.10.2" [dev-dependencies] -pyth = { git = "https://github.com/drift-labs/protocol-v2.git", tag = "v2.53.0" } +pyth = { git = "https://github.com/drift-labs/protocol-v2.git", tag = "v2.53.0", features = [ + "no-entrypoint", +] } borsh = "*" hex = "*" hex-literal = "*" diff --git a/src/liquidation.rs b/src/liquidation.rs index 6e7abeb..798c349 100644 --- a/src/liquidation.rs +++ b/src/liquidation.rs @@ -393,9 +393,8 @@ mod tests { use bytes::BytesMut; use drift::{ math::constants::{ - AMM_RESERVE_PRECISION, LIQUIDATION_FEE_PRECISION, PEG_PRECISION, PRICE_PRECISION, - PRICE_PRECISION_I64, SPOT_BALANCE_PRECISION, SPOT_BALANCE_PRECISION_U64, - SPOT_CUMULATIVE_INTEREST_PRECISION, + AMM_RESERVE_PRECISION, LIQUIDATION_FEE_PRECISION, PEG_PRECISION, + SPOT_BALANCE_PRECISION, SPOT_BALANCE_PRECISION_U64, SPOT_CUMULATIVE_INTEREST_PRECISION, }, state::{ oracle::{HistoricalOracleData, OracleSource},