Commit Graph

2885 Commits

Author SHA1 Message Date
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
guibescos 7b01f2a1f9
feat(xc_admin_frontend): add priority fees to approval/rejection (#1353)
* Make room for compute ixs

* Continue

* Fix syntax

* Checkpoint

* Cleanup

* Cleanup

* Go
2024-03-12 14:53:29 +00:00
Ali Behjati 1b21a92f75
chore(target_chains/sui): fix Wormhole testnet address (#1352) 2024-03-12 10:40:31 +01:00
Daniel Chew 23620cb217
fix footer placement (#1351) 2024-03-12 15:57:27 +09:00
Daniel Chew 51667f7af3
feat(xc-admin): add council address mapping (#1348)
* add council address mapping

* change filepath

* revert filepath

* add logs

* test

* fix

* hardcode path if env var not available

* remove logs

* update mapping
2024-03-12 12:37:17 +09:00
Dev Kalra e7bf47a18e
feat(entropy-v2): request with callback (#1342)
* request with callback

* address comments

* pre-commit

* compilation successful

* pre-commit

* add tests

* generate-abis

* pre-commit

* correct version

* address comments

* pre-commit

* remove unused

* add comments

* pre-commit

* gen abi

* naming consistency

* remove gas limit comment

* requestWithCallback comment

* remove unnecessary asserts

* pre commit

* update request with callback coment

* abis regen

* refactor as per feedback

* abi gen

* rename

* implement ientropyconsumer

* gen abi

* comment entropy consumer

* test fix

* add comment

* reintroduce blockhash

* add error for invalid reveal call

* use getEntropy in entropy consumer

* add test for requestAndRevealWithCallback

* pass through for entropy consumer

* pre commit fix

* abi gen

* address comments

* address feedback

* gen abis

* pre commit run
2024-03-12 01:58:57 +05:30
guibescos 926aa55f75
fix: Make room for compute ixs (#1349)
* Make room for compute ixs

* Continue

* Fix syntax

* Fix contract manager

* Go

* Refacotr import
2024-03-11 18:58:11 +00:00
omahs fc916c6496
fix: typos (#1347)
* fix typo

* fix typos

* fix typo

* fix typos
2024-03-11 15:50:28 +00:00
Amin Moghaddam ce614fa077
fix(contract_manager): Update some rpc urls + better error description (#1346)
* Better error message

* Replace faulty rpcs on cosmwasm
2024-03-11 10:47:19 +01:00
Daniel Chew a27eb9a026
feat(xc-admin): add priority fees support to xc-admin (#1344)
* refactor

* add priority fees to proposal creation

* style fix
2024-03-11 17:14:16 +09:00
Dev Kalra a63cf91cd1
zetachain deployments (#1345) 2024-03-08 18:45:53 +05:30
Ali Behjati 182db58f83
chore(target_chains/ethereum): add new networks (#1343)
Add Mantle Sepolia, Merlin (testnet and mainnet), and Sei EVM devnet.
2024-03-07 20:59:55 +01:00
Ali Behjati 45e8951292
chore(target_chains/sui): update sui and wormhole dependency (#1341)
* chore(target_chains/sui): update sui and wormhole dependency

Developers on Sui need to pin the same Sui version as their
dependencies and it enforces everyone to use the same Sui version.

Pyth and Wormhole Sui versions have been old and this change updates
them to the latest testnet version (1.19.1) to make integrations with us
easier. Wormhole has undergone a similar change and thereforce its
version has changed as well.

No contract deployment is needed for this change as it only unblocks
downstream consumers for compiling their contracts.

* fix: update sui version in the ci workflow
2024-03-07 10:46:47 +01:00