Skip to content

Commit

Permalink
Use pyth sdk + tests (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xripleys authored Dec 13, 2022
1 parent c602b70 commit 92d38cf
Show file tree
Hide file tree
Showing 20 changed files with 642 additions and 310 deletions.
76 changes: 76 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions token-lending/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ arrayref = "0.3.6"
bytemuck = "1.5.1"
num-derive = "0.3"
num-traits = "0.2"
pyth-sdk-solana = "0.7.0"
solana-program = "=1.9.18"
spl-token = { version = "3.2.0", features=["no-entrypoint"] }
static_assertions = "1.1.0"
switchboard-program = "0.2.0"
switchboard-v2 = "0.1.3"
thiserror = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion token-lending/program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ pub mod entrypoint;
pub mod error;
pub mod instruction;
pub mod math;
pub mod oracles;
pub mod processor;
pub mod pyth;
pub mod state;

// Export current sdk types for downstream users building with a different sdk version
Expand Down
Loading

0 comments on commit 92d38cf

Please sign in to comment.