Commit Graph

37 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 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 1a00598334 feat(price-server): support parsing accumul data 2023-08-17 18:39:02 +03:30
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
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
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
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
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 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
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
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
Ali Behjati 70fd0a6c15
[wormhole-attester] Move p2w-sdk inside wormhole_attester directory (#534)
* Move p2w-sdk to wormhole_attester

* Update references to the sdk
2023-01-25 18:14:02 +01:00
Ali Behjati b4cf527f00
[price-service] Add price service client and sdk to this repo (#525)
* Move price service to server directory

* Update references to price service

* Add pyth-common-js as the service client

* Update package names

* Add pyth-sdk-js

* Rename the sdk

* Change readme a bit
2023-01-25 17:17:32 +01:00