Commit a2e6577
authored
program/rust: Remove resize logic, forbid v1 prices on pythnet (#379)
* program/rust: Remove resize logic, forbid v1 prices on pythnet
* program/rust/Cargo.toml: Clarify comment on oracle features
* pyth_simulator.rs: remove price_v2_resize feature detection
* scripts/build-bpf.sh: Don't use individual tests for pythnet tests
* program/rust: Consolidate PriceAccount(V2) into a single type
* program/rust: price.rs, upd_price.rs: Update comments
* program/rust tests: mod declaration feature gates instead of #![]
* program/rust test_add_publisher.rs: Remove trivial variable1 parent fca9f4a commit a2e6577
File tree
16 files changed
+307
-583
lines changed- program/rust
- src
- accounts
- processor
- tests
- scripts
16 files changed
+307
-583
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | | - | |
57 | 58 | | |
58 | | - | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments