Commit Graph

53 Commits

Author SHA1 Message Date
Ali Behjati a270b64844 chore(price_service): update spy version and bootstrappers
The new spy has a QUIC upgrade logic for mainnet which happens on
January 16. This upgrade is breaking and all the spy runners should
upgraded their spies.
2023-12-19 11:15:25 +01:00
Ali Behjati ff0d9fe65c
chore(eth): update mentions to evm-testnet and hermes-beta (#1151)
We have deployed new Pyth contracts on testnets using the stable
feeds and users no longer need to use hermes-beta in many networks.
This change updates the mentions to them.
2023-11-27 10:12:52 +01:00
Ali Behjati 59c7a0cff3 chore: update spy guardian version 2023-11-09 15:29:05 +03:30
Ali Behjati 65e21997e4 chore: remove price service mentions in the repo 2023-10-19 09:25:03 +02:00
Ali Behjati 49d1a579c3 chore: cleanup repo 2023-10-18 18:32:42 +02:00
Ali Behjati 2b51cffdc7 fix(price-service/client): remove axios version lock 2023-10-16 16:46:57 +02:00
Ali Behjati 5fdc0d2545 fix(price-service/server): add max payload size
By default ws library has max payload size of 100 MiB but actually the
biggest valid call is 20 KiB. This change sets the limit to 100 KiB to
add more resilliency on the web socket. The biggest call size can
increase when there are new symbols but this service is not going to
live seeing the 5x current price feeds!
2023-10-04 19:34:58 +02:00
Ali Behjati 65ecd890ae feat(price-service/sdk): add prev_publish_time metadata 2023-09-22 13:30:30 +02:00
Ali Behjati d5c3090442 feat(price-service/client): add out-of-order flag support 2023-09-19 15:54:33 +02:00
Ali Behjati 1a00598334 feat(price-server): support parsing accumul data 2023-08-17 18:39:02 +03:30
Daniel Chew 110caed6be
change waitForMaybeReadyWebSocket to 5 seconds (#1017)
* change waitForMaybeReadyWebSocket to 5 seconds

* update package-lock.json
2023-08-16 17:37:20 +08:00
Ali Behjati 3df34478bf Update README.md 2023-08-04 11:58:30 +03:30
Ali Behjati 6bf10d30bf Update README.md 2023-08-04 11:58:30 +03:30
KemarTiti 4beb5bb66e Update README.md
update link
2023-08-04 11:58:30 +03:30
KemarTiti 8dc8679f5e Update README.md
fix broken link to
https://github.com/pyth-network/pyth-crosschain
2023-08-04 11:58:30 +03:30
Jayant Krishnamurthy de8aeb0851
Add price service client readme (#984) 2023-07-25 23:31:10 +03:30
Daniel Chew 8752291aa2
fix broken links (#945)
* fix broken links

* undo import order changes

* Fix more links

* Fix more broken links

* Fix more broken links

* Fix more broken links

* Fix precommit

---------

Co-authored-by: Thomaz Leite <thomaz@pyth.network>
Co-authored-by: Guillermo Bescos <g.bescos@yahoo.com>
2023-07-11 11:41:43 +01:00
Ali Behjati bef4073b54
[price-service/client] Crash by default on WsError (#934)
* [price-service/client] Crash by default on WsError

* Update docker-compose files

* Update package versions again
2023-07-07 11:43:04 +03:30
Ryu 5e44fa4c95
[price_service] js client: getPriceFeed() (#922)
* [price_service] js client: getPriceFeed()

* Fix pre-commit

* Bump package versions

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
2023-06-28 18:28:37 +02:00
Ali Behjati b8778c02d5
[price-service] Update readiness probe (#893)
* [price-service] Update readiness probe

This also refactors and explains the last changes on the liveness probe.

* Update comments

* Address review comments
2023-06-16 12:38:25 +02:00
Ali Behjati 75abeb1553
[price-service] Add minSymbols check to liveness (#882) 2023-06-13 14:40:34 +02:00
Ali Behjati 7dea578416
[xc-server] Reliability improvements (#875)
* [xc-server] Bugfix and improvements

* Address review comments
2023-06-11 14:58:36 +02:00
Ali Behjati 183081cc20
Expose pythnet message buffer idls (#865) 2023-06-09 14:10:28 +02:00
Jayant Krishnamurthy b5cfc0cddd
Update readme with hosting recommendations (#852)
* Update readme with hosting recommendations

* add cores
2023-06-06 15:51:49 +02:00
Jayant Krishnamurthy 64bce66383
Choose unique VAA for query time if it exists (#853)
* hmm this way works but is complicated

* choose unique vaa

* update tests

* lint

* bump versions
2023-06-01 07:32:10 -07:00
Daniel Chew f99f23c416
update price service sdk (#849)
* update price service sdk

* bump version

* fix test

* include slot

* bump price-service-client version

* bump all that uses price-service-client

* bump all that uses price-service-client
2023-05-29 20:18:29 +09:00
Thomaz Leite ef6c9519be Bump price-service version 2023-05-22 10:08:05 -03:00
Thomaz Leite f1492ae3d5 Use native code for validating VAAs 2023-05-22 10:08:05 -03:00
Jayant Krishnamurthy 4a17e7f914
known issues (#826) 2023-05-19 08:32:43 -07:00
Ali Behjati e283b15d20
[price-service] Improve vaa validation (#814)
* [price-service/server] Improve Vaa Validation

* [price-service/server] Improve performance

* Update wormhole guardian version
2023-05-17 20:20:17 +02:00
drptbl e7b72bf5c3
docker: add restart `on-failure` (#792)
* docker: restart on-failure

Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

* Fix precommit

---------

Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>
Co-authored-by: Guillermo Bescos <g.bescos@yahoo.com>
2023-05-02 11:15:05 -05:00
guibescos facc2b6ff3
Pin axios (#787) 2023-05-01 08:45:06 -05:00
guibescos 3e5600508b
Fix axios bug by downgrading, bump all dependents (#786) 2023-04-28 10:19:40 -05:00
Jayant Krishnamurthy 6126db74fc
[price_service] Let callers specify VAA encoding (#766)
* Callers can specify encoding

* lint

* changed my mind about this one

* cleanup

* cleanup

* bump version
2023-04-14 11:29:41 -07:00
Jayant Krishnamurthy 42ddfb6466
Get price feed endpoint (#764)
* Add get price feed endpoint

* fix stuff

* lint

---------

Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2023-04-13 20:00:50 -07:00
Jayant Krishnamurthy 94f38fdd74
Fix JS workflow (#727) 2023-03-29 09:36:25 -07:00
Jayant Krishnamurthy e995a2b89e
Add CI workflow to publish javascript packages (#707)
* workflows

* try private

* private

* more private

* update files

* fix workflow

* hm

* hm

* bump version

* bump version

* another bump

* text

* update readme

* update package lock
2023-03-21 12:25:30 -07:00
Reisen 3f56b3064d
[hermes] Rename from price service and add README. (#705)
* pyth-node: rename from price service and document

* pyth_node: Add visual architecture to README.
2023-03-21 14:36:13 +00:00
Reisen 032ecd66bf
[price-service] Rust implementation of a P2P price service. (#694)
* price_service: add Rust implementation of P2P price service.

* price_service: formatting hook and removes junk

* price_service: add TODO regarding build.rs hacks

* price_service: allow CGo to link resolv on mac
2023-03-15 17:18:05 +00:00
Jayant Krishnamurthy b9430aee81
[sdk] Add new SDK packages to lerna (#630) 2023-02-28 09:14:52 +01:00
Ali Behjati bf49774fab
Update docker compose images (#635) 2023-02-27 19:45:32 +01:00
Jayant Krishnamurthy 3e9472b8ef
[price service] Return VAA without prepending publish time (#577)
* [price service] Return VAA without prepending publish time

* bump version

---------

Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2023-02-10 10:15:49 -08:00
Ali Behjati 981d62c933
[price_service/server] Improve vaa counter metric (#573)
* [price_service/server] Improve vaa counter metric

* Bump the version

* Update comment

* Update comment again
2023-02-09 18:13:30 +01:00
Ali Behjati 85cf4fbaaa
[price-service] Bump version to 2.3.4 (#566) 2023-02-06 13:15:01 +01:00
Ali Behjati 3f7cffd5b2
[price-service/client] Add e2 test (#559) 2023-02-06 10:04:52 +01:00
guibescos 40287f6dbd
[price-service] Make the README better (#560)
* Make the README better

* Now fix p2wrelay

* Space in docker compose
2023-02-03 09:23:55 +01:00
Jayant Krishnamurthy abb238f1af
pretty sure this is fine (#542)
Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2023-02-02 09:57:24 +01:00
Ali Behjati 481c61bc2c
[refactor] Improve typescript codebase (#553)
* Use base tsconfig

* Add lint check

* Fix tilt
2023-02-01 11:26:23 -06:00
guibescos 34347c8629
[price-service] Remove wasm from readme and workflow (#548)
* Remove wasm from readme and workflow

* Update CI and Readme with lerna

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
2023-02-01 10:18:27 -06:00
Ali Behjati 4c5d0d5e1b
[refactor] Add global lerna (#546)
* Move lerna to the top

* Set version to independent

Packages are versioned independently

* Update packages and the lock

* Add build cache and better reference

* Add lerna docker base

* Add wormhole_attester sdk and some minor impr

* Update tsconfig to fix outDir impact by composite

* Update eth package

* Update p2w to use solidity-sdk

* Change xc-admin CI to lerna CI action

* Add more packages to the list + bugfixes

* Update dockerfiles to have tilt working

* Format the code

* Fix some issues

* Fix the change of usePyth.ts

* lerna build fix

* Fix foundry
2023-01-31 17:09:31 +01:00