Skip to content

Commit

Permalink
try fix test build
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Feb 26, 2024
1 parent a76f1bb commit 6bddf1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "*"
Expand Down
5 changes: 2 additions & 3 deletions src/liquidation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 6bddf1a

Please sign in to comment.