Commit Graph

2897 Commits

Author SHA1 Message Date
Pavel Strakhov 8843d0f875 refactor(target_chains/ethereum): clean up unused batch update code 2024-03-28 14:50:01 +00:00
Pavel Strakhov 06965d38cc refactor(target_chains/ethereum): move unused functions from Pyth to VerificationExperiments tests 2024-03-28 14:50:01 +00:00
Pavel Strakhov a2db288210 refactor(target_chains/ethereum): remove legacy batch updates support from parsePriceFeedUpdates and getUpdateFee 2024-03-28 14:50:01 +00:00
Pavel Strakhov 8a70ca769b refactor(target_chains/ethereum): remove legacy batch updates support from updatePriceFeeds 2024-03-28 14:50:01 +00:00
Pavel Strakhov 01f878cf5a refactor(target_chains/ethereum): remove truffle tests for batch updates 2024-03-28 14:50:01 +00:00
Jayant Krishnamurthy 0f7a9cc334
[contract_manager] Add logic for tracking fee denominations and dollar values (#1394)
* tokens

* progress

* progress

* progress

* infra for storing tokens and using them in fee calculations

* precommit

* cleanup

* cleanup

* fix
2024-03-28 06:26:04 -07:00
Dev Kalra 6fb5ab483d
fix(IEntropy): revealWithCallback comment (#1404)
* fix reveal comment

* update comment
2024-03-28 14:55:31 +05:30
Dev Kalra 02e196e924
feat(entropy_contracts): don't call an address if it is an Eoa in reveal callback (#1395)
* don't call an address if it is an Eoa

* fix comment

* update comment
2024-03-28 14:12:36 +05:30
guibescos 0e6484daca
perf: use solana hash precompile (#1400) 2024-03-27 15:39:43 +00:00
Reisen df585e440e refactor(hermes): watch channel to simplify shutdowns 2024-03-27 15:07:24 +00:00
Ali Behjati f18f1c8e7c
fix(target_chains/ethereum): update some configs to make js tests work (#1399) 2024-03-27 14:56:27 +01:00
Ali Behjati 86c6ed259d
chore(target_chains/ethereum): add new networks (#1397)
Add metadata for the following networks:
- Parallel testnet and mainnet
- Polynomial testnet
2024-03-27 14:26:05 +01:00
Ali Behjati 9416a8b586
chore(hermes): small improvements to add tests in CI and more (#1393)
* fix(hermes): fix a broken test

* refactor(hermes): add clippy to pre-commit

* feat(hermes): add ci for tests

* chore(hermes): remove legacy go footprint

* fix: add protoc action for ci

* chore: rebase on top of main

* fix: use right rust version for the Dockerfile

* fix: fix precommit ci
2024-03-27 13:55:26 +01:00
Reisen d66c00f84a
chore: update to latest nightly (#1398) 2024-03-27 12:27:24 +01:00
guibescos cf16fa3211
feat: add walletconnect (#1392) 2024-03-27 11:15:56 +00:00
Aditya Arora 6d3b5234f6
Added polygon_blackberry, optimism_celestia_raspberry,arbitrum_blueberry (#1391)
* Added 3 new chains

* pre-commit fix

* alphabetical
2024-03-26 16:36:46 -04:00
Dev Kalra d821e01109
feat(entropy-v2): add provider parameter to entropy callback (#1389)
* add provider parameter to entropy callback

* order

* abis regen

* update version
2024-03-26 18:00:06 +05:30
Ali Behjati 26c3d08f33
refactor(hermes): use broadcast channel for api notifications (#1388)
This change removes the manual broadcast implementation to send
out API notifications to WS subscribers.
2024-03-26 11:24:16 +01:00
guibescos f31ef9e812
docs: update solana readme, add rust sdk readme (#1387)
* docs: update solana readme, add sdk readme

* Clarify

* Created -> posted

* Cleanup

* Readmes

* More comments

* Typo
2024-03-25 12:31:40 +00:00
Ali Behjati 93598f8dc4
fix(target_chains/sui/cli): update sui js package to make it work (#1386)
Also add build script to the package so we catch the failures on CI.
2024-03-25 11:08:37 +01:00
guibescos a8d88fb1a1
chore: bump js sdk (#1380)
* chore: bump js sdk

* Go
2024-03-22 16:03:16 +00:00
guibescos 6fbe59ad28
chore: no star dependency (#1384) 2024-03-22 14:37:53 +00:00
guibescos 981d2d0fdd
Add description (#1383) 2024-03-22 13:56:42 +00:00
guibescos 5ef1ff097a
Bump toolchain: (#1382) 2024-03-22 12:18:44 +00:00
Amin Moghaddam 0735cdb975
feat(express_relay): Sample protocol and monitor (#1374) 2024-03-22 11:57:38 +01:00
guibescos 7796fbe025
FIx (#1381) 2024-03-21 23:10:09 +01:00
guibescos 495a2e96b8
chore: add licenses before publishing (#1379) 2024-03-21 19:00:37 +00:00
Ali Behjati f2d5bdc842
chore(target_chains/solana): add verifiable build script (#1378)
This change adds a Dockerfile based on Anchor's default verifiable
build dockerfile and a script to build the program using that
Dockerfile. The script also prints the sha256sum of the program which
can be used to verify on-chain deployments.
2024-03-21 19:07:17 +01:00
Anirudh Suresh e394f56468
fix: precommit fixes (#1377)
* config pre-commit

* poetry auto install in pre commit

---------

Co-authored-by: ani <ani@Anirudhs-MBP.cable.rcn.com>
2024-03-21 11:42:31 -04:00
guibescos 4ffeb9f265
chore: use published version of wormhole packages (#1375)
* Go

* 0.1.0
2024-03-20 20:18:04 +00:00
guibescos 1e5df8537a
feat: add posted slot (#1372)
* feat(solana): add posted slot

* chore: run pre-commit

* Go

* Fix rebase

* Fix test

* Go
2024-03-20 19:38:33 +00:00
guibescos f79f205895
feat: separate write-authority from payer (#1373)
* feat: separate write-authority from payer

* test: update tests

* fix: typo
2024-03-20 19:04:34 +00:00
Amin Moghaddam 6adfdb1beb
feat(contract_manager): latency script for entropy (#1367)
* feat(contract_manager): latency script for entropy
2024-03-19 09:50:02 +01:00
Dev Kalra ac37b950ae
deploy entropy on base (#1371) 2024-03-19 14:13:29 +05:30
Ali Behjati d03f25bfbf
fix(governance/xc_admin): add complete dependencies to the dockerfile (#1369)
Apparently xc-admin now also needs price service SDK because the
Solana receiver depends on it.
2024-03-18 20:22:30 +01:00
Ali Behjati 62b4b5a729
fix(governance/xc_admin): fix Dockerfiles (#1368)
xc-admin now depends on Solana receiver's SDK and the Dockerfiles should
include it in their build.
2024-03-18 20:13:29 +01:00
Ali Behjati ab7560ad35
feat(governance/xc_admin): add initial support for solana receiver (#1365)
* feat(governance/xc_admin): add initial support for solana receiver

This change adds Solana Receiver IDL to xc-admin to support parsing
them in the xc-admin Frontend. Also adds two CLI commands to request
and accept governance authority transfer.

* chore: address comments

* chore: bump version
2024-03-18 20:00:43 +01:00
Anirudh Suresh a40de245b9
fix workflow (#1364)
* fix workflow

* use 'working-directory' tag

* install and build

---------

Co-authored-by: ani <ani@Anirudhs-MBP.cable.rcn.com>
2024-03-15 16:13:40 -04:00
guibescos a007a088ed
fix: release price service sdk (#1363)
* Go

* 0.1.0

* Clean

* 0.1.1

* Bump

* Go
2024-03-15 19:24:14 +00:00
guibescos 81ff71c8d8
chore: release solana pull oracle sdks (#1361)
* chore: release rust sdk for solana receiver

* Go

* Publish pythnet sdk
2024-03-15 19:14:20 +00:00
Anirudh Suresh 92566736da
Express relay python searcher (#1319)
* move js searcher sdk

* add the python searcher sdk

* remove pycache

* create class for simple searcher

* add websocket to python searcher sdk

* finish ws, avoid storing liquidation opportunities within client

* python scripts now working w auto type generation

* minor precommit changes

* address comments 1

* add openapi type generations

* fixed precommit issues on generated type files

* reorg

* fixed openapi_client generated precommit

* fix js filepath issue

* added close ws

* renamings and add send_ws_message method

* get rid of duplicate error parsing

* cleanup

* set up pypi workflow

* address comments

* add python precommit

* changes + precommit changes

* test precommit change

* test precommit change

* test precommit change

* test precommit change

* test precommit change

* test precommit change

* test precommit change

* test precommit change

* test precommit change

* correct directory for poetry in pypi wf

* remove isort

* rename package

* add UUID and some cleanup

* new openapi typings

* add pydantic to pyproj

* more changes

* precommit

* remove extraneous files, stick w actual_instance

* added back http as nondefault

* correction

* some cleanup and reorg

* minor changes

* add back api response typing file

* minorer changes

* exclude openapi_client from end of file fixer

* build internal models via pydantic

* chgs

* start to reorg classes

* configure precommit to work

* some cleanup

* reorg a bit

* address comments

* chgs

* fgt

* morechgs

* some more chgs

---------

Co-authored-by: ani <ani@Anirudhs-MacBook-Pro.local>
Co-authored-by: ani <ani@Anirudhs-MBP.cable.rcn.com>
2024-03-15 15:08:48 -04:00
guibescos 6bea697a78
fix: constrain @pythnetwork/price-service-sdk in @pythnetwork/pyth-solana-receiver (#1362)
* Clean

* 0.0.2

* 0.0.3

* Yes:

* Cleanup
2024-03-15 16:50:08 +00:00
guibescos 854f804d18
chore: release solana pull oracle packages (#1360) 2024-03-15 14:39:37 +00:00
guibescos 8b1c29e81a
feat: transaction builder (#1356)
* Do it

* Remove some duplicate code

* Cleanup

* Cleanup

* Cleanup import

* Correct description

* Fix path

* Cleanup deps

* Unique

* Works

* Continue

* Lint

* Lint config

* Fix ci

* Checkpoint

* Checkpoint

* Gitignore

* Cleanup

* Cleanup

* Continue building the sdk

* build function

* Remove files

* Remove files

* Rename

* Refactor : make transaction builder

* Make commitment

* Move

* Progress

* Checkpoint

* Ephemeral signers 2

* Checkpoint

* Checkpoint

* Fix bug

* Cleanup idls

* Compute units

* Make program addresses configurable

* Handle arrays

* Handle arrays

* Move PythSolanaReceiver

* Cleanup constants

* Contants

* Refactor constants

* Gitignore refactor

* package lock

* Cleanup idl

* Add useful static

* Add useful static

* Add useful static

* Lint

* Add lint config

* Docs

* Comments

* Docs

* Don't touch this

* Readme

* Readme

* Cleanup

* Readme

* Fix

* address readme comments

* from pyth, not pythnet

* Add a couple more comments

* Rename cleanup to close

* Go go go

* Gogogo

* Go

* Fix readme

* Improve readme

* Nit

* Nits

* Refactor withClose

* Update comments

* Cleanup

* First rename

* Rename 2

* Improve error message
2024-03-15 12:11:22 +00:00
Aditya Arora 4534741d6e
chore(target_chains/ethereum): add manta_sepolia (#1359)
* chore(target_chains/ethereum): add manta_sepolia

* bumped up sdk version
2024-03-14 15:28:18 -04:00
Amin Moghaddam f14dd35d1a
feat(per-js-sdk): Add support for bid state and raw bid submission + renames (#1329)
* feat(per-js-sdk): Add support for bid state and raw bid submission

* Add custom error class for easier excpetion handling

* Merge websocket/http apis inside a single function

* Adapt to new names on the server

* Adapt field names
2024-03-14 20:15:14 +01:00
Amin Moghaddam 0b1135c8d3
fix(express_relay): Update naming on express relay interfaces (#1358)
* Update naming on express relay interfaces
2024-03-14 19:57:27 +01:00
guibescos 16cc46e60a
docs: code docs for solana sdk (#1330)
* Do it

* Remove some duplicate code

* Cleanup

* Cleanup

* Cleanup import

* Correct description

* Fix path

* Cleanup deps

* Unique

* Works

* Continue

* Lint

* Lint config

* Fix ci

* Checkpoint

* Checkpoint

* Gitignore

* Cleanup

* Cleanup

* Continue building the sdk

* build function

* Remove files

* Remove files

* Rename

* Refactor : make transaction builder

* Make commitment

* Move

* Progress

* Checkpoint

* Ephemeral signers 2

* Checkpoint

* Checkpoint

* Fix bug

* Cleanup idls

* Compute units

* Make program addresses configurable

* Handle arrays

* Handle arrays

* Move PythSolanaReceiver

* Cleanup constants

* Contants

* Refactor constants

* Gitignore refactor

* package lock

* Cleanup idl

* Add useful static

* Add useful static

* Add useful static

* Lint

* Add lint config

* Docs

* Comments

* Docs

* Don't touch this

* Readme

* Readme

* Cleanup

* Readme

* Fix

* address readme comments

* from pyth, not pythnet

* Add a couple more comments

* Rename cleanup to close

* Go go go
2024-03-13 14:28:17 +00:00
Ali Behjati 04b66fa208
chore(contract_manager): change Blast network rpc (#1354) 2024-03-12 16:52:46 +00:00
enjoyooor eec10a721b
chore: fix nits (#1350) 2024-03-12 15:21:03 +00:00