Skip to content

Commit d06d9cf

Browse files
authored
Merge pull request #98 from pyth-network/liquidity_oracle
Liquidity oracle
2 parents 74ff0b9 + 1a17c66 commit d06d9cf

File tree

4 files changed

+1367
-0
lines changed

4 files changed

+1367
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
# This is only used for tests
3+
[toolchain]
4+
channel = "1.66.1"
5+
profile = "minimal"

pyth-sdk/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ borsh = "0.9"
1919
borsh-derive = "0.9.0"
2020
serde = { version = "1.0.136", features = ["derive"] }
2121
schemars = "0.8.8"
22+
getrandom = { version = "0.2.2", features = ["custom"] }
2223

2324
[dev-dependencies]
2425
serde_json = "1.0.79"
26+
quickcheck = "1"
27+
quickcheck_macros = "1"

pyth-sdk/src/lib.rs

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#[cfg(test)]
2+
extern crate quickcheck;
3+
#[cfg(test)]
4+
#[macro_use(quickcheck)]
5+
extern crate quickcheck_macros;
6+
17
use borsh::{
28
BorshDeserialize,
39
BorshSerialize,

0 commit comments

Comments
 (0)