Commit ce6decd
---
Batch publish (pyth-network#313)
* feat: batch publish
* feat: batch publish 2 (wip)
* feat: verify that price feed index is set
* refactor: add pyth module
* feat: integrate pyth-price-publisher
* refactor: rename and move get_accumulator_keys
* test: make sure batch publish does not apply prices when price_index == 0
* chore: fix format
* fix: update deps
---
Update dependency, program id and test for pyth-price-store (pyth-network#314)
* test: modify batch publish tests
* chore: use real batch publish pid as default
* chore: update pyth-price-store dependency
---
Rename price store env var and bump version (pyth-network#315)
* chore: rename variable for pyth store pid
* chore: bump pythnet version to 1.14.179
1 parent 58030af commit ce6decd
File tree
12 files changed
+513
-88
lines changed- core/src
- programs/bpf
- runtime
- src
- bank/pyth
- tests
- validator/src
12 files changed
+513
-88
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
1521 | 1521 | | |
1522 | 1522 | | |
1523 | 1523 | | |
1524 | | - | |
1525 | | - | |
1526 | | - | |
1527 | | - | |
1528 | | - | |
1529 | | - | |
1530 | | - | |
1531 | | - | |
| 1524 | + | |
| 1525 | + | |
1532 | 1526 | | |
1533 | 1527 | | |
1534 | 1528 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 201 | + | |
205 | 202 | | |
206 | 203 | | |
207 | 204 | | |
| |||
1410 | 1407 | | |
1411 | 1408 | | |
1412 | 1409 | | |
1413 | | - | |
| 1410 | + | |
1414 | 1411 | | |
1415 | 1412 | | |
1416 | 1413 | | |
| |||
1796 | 1793 | | |
1797 | 1794 | | |
1798 | 1795 | | |
1799 | | - | |
| 1796 | + | |
1800 | 1797 | | |
1801 | 1798 | | |
1802 | 1799 | | |
| |||
3238 | 3235 | | |
3239 | 3236 | | |
3240 | 3237 | | |
3241 | | - | |
| 3238 | + | |
3242 | 3239 | | |
3243 | 3240 | | |
3244 | 3241 | | |
| |||
Lines changed: 46 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
| |||
118 | 131 | | |
119 | 132 | | |
120 | 133 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 134 | | |
141 | 135 | | |
142 | 136 | | |
| |||
424 | 418 | | |
425 | 419 | | |
426 | 420 | | |
427 | | - | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
428 | 428 | | |
| 429 | + | |
429 | 430 | | |
430 | 431 | | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
431 | 442 | | |
432 | 443 | | |
433 | 444 | | |
434 | 445 | | |
435 | 446 | | |
436 | 447 | | |
437 | | - | |
| 448 | + | |
438 | 449 | | |
439 | 450 | | |
440 | | - | |
441 | | - | |
| 451 | + | |
442 | 452 | | |
443 | 453 | | |
444 | 454 | | |
| |||
448 | 458 | | |
449 | 459 | | |
450 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
451 | 471 | | |
452 | 472 | | |
453 | 473 | | |
| |||
0 commit comments