Commit Graph

3005 Commits

Author SHA1 Message Date
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
Jayant Krishnamurthy 1d28c04bfd bump version 2024-03-05 09:28:51 -08:00
Jayant Krishnamurthy ca970b5c61 0.0.1 2024-03-05 09:27:55 -08:00
Jayant Krishnamurthy 5622bddd8c catch nonce error 2024-03-05 09:27:51 -08:00
Dev Kalra 75769182f7
[fortuna] push fortuna to ghrc (#1295)
* [fortuna] push fortuna to ghrc

* precommit fix

* test file path

* address comment
2024-03-05 16:29:35 +05:30
Daniel Chew 2bfbfed6ab
feat(xc-admin): add support for setMaxLatency instruction (#1328)
* Remove Substack link from SocialLinks component

* Update copyright year in Footer component

* fix useEffect dep

* add support for maxLatency

* update wallet interface

* fix

* fix

* revert import format

* fix

* fix

* fix

* fix

* update anchor to 0.29.0

* remove unneeded casts
2024-03-04 16:12:36 +09:00
guibescos 98f83efcbd
fix: typos (#1335)
* Update SECURITY.md

* Update message_buffer.ts

* Update ser.rs

* Let's see

---------

Co-authored-by: Pioua <136521243+dzizazda@users.noreply.github.com>
2024-03-01 23:05:39 +00:00
guibescos ddf04637c5
fix: solana audit 3 (#1334)
* Audit 3

* Go

* Move it before sig verification

* Comment
2024-03-01 19:24:49 +00:00
guibescos e0f94ee164
Pay treasury rent (#1333) 2024-03-01 17:59:39 +00:00
guibescos 7bf2782da2
fix: audit feedback 1 (#1331)
* Audit 1

* Pin wh sdk

* Typo

* Typo

* Add constraint to initialize
2024-03-01 17:57:29 +00:00
Ali Behjati 736a20208b
chore(target_chains/sui): update sui js packages (#1340)
* chore(target_chains/sui): update sui js packages

* chore: bump version

---------

Co-authored-by: Amin Moghaddam <amin@pyth.network>
2024-03-01 17:05:52 +01:00
guibescos f9de5430d1
Move deps to the workspace level (#1332) 2024-03-01 13:24:41 +00:00
Ali Behjati be902e1248
fix: add solana-utils package to xc-admin frontend dockerfile (#1339) 2024-03-01 13:41:10 +01:00
Ali Behjati eb4521418c
chore: update readme pull request instructions (#1338) 2024-03-01 12:54:39 +01:00
Ali Behjati 8c0a79ccf1
fix(governance/xc_admin): Add solana_utils to xc-admin Dockerfile (#1337) 2024-03-01 12:54:30 +01:00
Ali Behjati 316816683e
chore(target_chains/ethereum): add Astar zkEVM mainnet network (#1336) 2024-03-01 11:40:33 +01:00
MagicGordon c8acfc5660
[price_pusher] Add near command (#1306)
* add near command

* add try catch to getPriceFeedsUpdateData and getUpdateFeeEstimate

* add private-key-path optional parameter

* chore: run pre-commit

* fix: make private key optional

* chore: bump version

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
2024-03-01 10:08:37 +01:00
Amin Moghaddam 47470860bf
fix(solana-receiver-js): Add test script to make prepublishOnly work (#1327) 2024-02-29 09:45:33 +01:00
Ali Behjati c65cda000a
chore(contract_manager): fix Blast API env var (#1326) 2024-02-29 08:43:06 +01:00
Amin Moghaddam 9e7b6d94ff
feat(per): Per solidity sdk (#1325)
* feat(per): add solidity sdk

* refactor(evm): refactor abi generator script

* feat(evm): add abi_generator package
2024-02-29 08:10:50 +01:00
guibescos e986b69c9a
feat(solana): js sdk (#1307)
* 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
2024-02-28 20:45:48 +00:00
Dev Kalra 38350421f6
chore(contract_manager): deploy price feed and entropy to blast (#1324)
* deploy blast price feeds

* deploy entropy on blast

* pre commit

* remove api key

* feedback
2024-02-28 19:36:23 +05:30
Daniel Chew 9fd9e170b2
[hermes] add /v2/price_feeds endpoint (#1277)
* initial stab

* fix comments

* add filter feature

* fix deprecated warnings

* use cache

* Update price_feeds API query

* Update PriceFeedsQueryParams struct in price_feeds.rs

* fix merge conflict

* fix default value

* add tracing info

* fix comment

* address comments

* change var name

* refactor

* refactor

* refactor

* refactor

* undo changes in cache.rs

* undo changes in aggregate.rs

* address comments

* address comments

* address comments and improve fetching data speed

* address comments

* address comments

* bump

* change chunk size

* change function name

* address comment

* address comments

* address comments

* address comments

* Remove debug print statement

* address comments and add to openapi
2024-02-28 15:17:13 +08:00
Dev Kalra eaaa74a44e
feat(Fortuna): add finality checks (#1322) 2024-02-27 19:08:16 +05:30
guibescos 281ef68753
Do it (#1321) 2024-02-26 15:06:18 +00:00
Amin Moghaddam 0d49986eb1
refactor(contract_manager): reduce duplicate code (#1311)
* feat(contract_manager): Add check for wormhole address on entropy deployment

* feat(contract_manager): Add getter for wormhole in entropy contract

* feat(contract_manager): topup entropy provider if necessary

* feat(contract_manager): find out wormhole address automatically for entropy

* feat(contract_manager): parse uri

* feat(contract_manager): Add list script for entropy contracts
2024-02-23 13:23:54 +01:00
Jayant Krishnamurthy bec2ddfc5d
fix(entropy): Fix doc formatting (#1314) 2024-02-23 08:02:25 +01:00
guibescos 8f289307e6
feat(solana) : rust sdk (#1303)
* Continue

* Use this

* Try error conversion

* Stop moving

* Fix bug

* Try another version

* Another sdk update

* Clarify errors

* Errors

* Add errors

* Docs

* More unit tests

* Another unit test
2024-02-22 16:15:56 +00:00
Dev Kalra 552f8c8aeb
add coredao testnet and mode entropy contracts (#1318) 2024-02-22 19:00:27 +05:30
Dev Kalra fb4c25485f
[fortuna] improve logging and update uri encoding (#1317)
* [fortuna] improve logging

* update version

* update uri encoding
2024-02-22 15:32:15 +05:30
Amin Moghaddam f22c0c8ae6
feat(express-relay): Support websocket in the js sdk (#1301) 2024-02-22 09:55:02 +01:00