Commit Graph

2944 Commits

Author SHA1 Message Date
Daniel Chew e14a82c61a
fix hermes v2 openapi schemas (#1298)
* fix docs

* address comment

* bump

* fix from implementation of RpcPriceIdentifier
2024-02-15 17:37:15 +09:00
Ali Behjati 5c1e83a088
fix(hermes): update build.rs to fix Docker build (#1296) 2024-02-13 10:10:11 +01:00
Ali Behjati 22579edc6e
feat(hermes): release v2 initial API (#1293)
The V2 API provide more functionality compared to the V1 such as
supporting benchmark proofs for multiple ids. This change bumps the
Hermes version to initiate a release and also fixes a couple of minor
things:
- Update build.rs to not panic on rebuilds
- Remove an unused benchmarks file
- Add all the V2 endpoints to docs
2024-02-12 16:05:02 +01:00
Amin Moghaddam 5dcf5cac4f
Multiply gas usage by 2 when setting up the provider (#1291) 2024-02-09 19:43:10 +01:00
guibescos 6a32844886
Go again (#1290) 2024-02-09 19:10:51 +01:00
Dev Kalra 9f67ee8abf
[contract_manager] provider address and mainnet deployments (#1289)
* provider address and lightlink deployment

* deployments

* addresses with correct provider

* pre commit
2024-02-09 23:09:26 +05:30
Ali Behjati 99f6dd99fc
chore(ethereum): add new networks (#1288)
This change adds the configuration of the following new networks:
- Hedera new testnet and mainnet
- Injective inEVM tesntet and mainnet
- IDEX xChain testnet

It also updates the ethereum sdk README to outline Hedera special
behaviour around update fees.
2024-02-09 12:43:01 +01:00
Amin Moghaddam 6771c2c699
Make publish public (#1286) 2024-02-08 14:31:58 +01:00
Amin Moghaddam 41de5c7c53
Add test script for express relay (#1285) 2024-02-08 14:18:55 +01:00
Amin Moghaddam f949ac6afa
Fix lerna workspace config to actually include per js sdk (#1284)
* Fix lerna workspace config to actually include per js sdk

* Fix package-locks
2024-02-08 14:00:02 +01:00
guibescos 3cc017e71b
[Solana] improve script (#1282)
* Test

* Fix idl

* Cleanup

* Improve script
2024-02-08 12:44:51 +00:00
Amin Moghaddam 91c9caee11
Add express relay to workspace (#1283) 2024-02-08 13:05:52 +01:00
Amin Moghaddam 89e67be9af
Check output of build command and panic if not successful (#1278) 2024-02-08 12:31:18 +01:00
Amin Moghaddam 5c8e372ef6
Initial version of js sdk for express relay (#1281) 2024-02-08 10:56:17 +01:00
Dev Kalra ca852ea989
[contract_manager] entropy deployment script (#1280)
* entropy deployment

* entropy deployment script

* remove unused

* refactored

* requested changes

* correct comment
2024-02-08 00:36:46 +05:30
Dev Kalra c330e40277
[contract_manager] support for executor (#1268)
* [contract_manager] support for executor

* refactor

* clean up

* fix ci

* rename method
2024-02-06 17:44:41 +05:30
guibescos 8f62566dbb
[solana] Fix idl (#1279)
* Test

* Fix idl

* Cleanup

* Add the script
2024-02-06 11:36:19 +00:00
guibescos 1d0d27ab3d
Revert pythnet (#1271) 2024-02-02 14:43:15 +00:00
guibescos 3555b9a976
Rename to singular (#1276) 2024-02-02 14:27:47 +00:00
Daniel Chew 2d1324e350
[hermes] add /v2/updates/price/<timestamp> endpoint (#1269)
* add /v2/updates/price/<timestamp> endpoint

* refactor

* refactor imports

* address comments

* address comments
2024-02-02 17:46:38 +09:00
guibescos 604e30ff75
Remove proposer squad (#1273) 2024-02-01 18:56:24 +00:00
Ali Behjati b8aeac327d
chore(wormhole_attester): update cargo packages to fix ci (#1275) 2024-02-01 19:05:55 +01:00
Jayant Krishnamurthy f172adb389
[doc] Provide installation directions for Foundry (#1274)
By default, foundry expects every library to be a git project. This approach does not work well with SDKs in monorepos (like ours). However, you can also install the dependencies using NPM and then use remappings.txt to point to the SDK. This is a little janky, but it seems to be the recommended approach for this case 🤷

see issue here foundry-rs/foundry#1847
2024-02-01 09:52:31 -08:00
guibescos b2c90a310d
[Solana] Load balance treasury (#1267)
* Checkpoint

* Checkpoint

* Cleanup

* Checkpoint, debug

* Go

* Checkpoint

* Fix

* Add new error and test

* Cleanup

* Add another test

* Keep adding errors

* Another test

* Add comment

* More

* Do it

* Again

* Nice

* Checkpoint

* Checkpoint

* Nice
2024-02-01 16:27:35 +00:00
Ali Behjati f5b78e5a8c
chore: remove attester and price service (#1272) 2024-02-01 15:53:07 +00:00
guibescos 7e65fd6597
[solana] reclaim rent (#1266)
* Checkpoint

* Checkpoint

* Cleanup

* Checkpoint, debug

* Go

* Checkpoint

* Fix

* Add new error and test

* Cleanup

* Add another test

* Keep adding errors

* Another test

* Add comment

* More

* Do it

* Again

* Nice

* Ship it
2024-02-01 15:51:24 +00:00
Ali Behjati f01d17e8ad
chore(ethereum): deploy to new networks (#1270)
also update the ethereum sdk js to include the newly deployed contracts
2024-02-01 12:38:05 +01:00
guibescos 1871ca1bf3
[Solana] More tests (#1263)
* Checkpoint

* Checkpoint

* Cleanup

* Checkpoint, debug

* Go

* Checkpoint

* Fix

* Add new error and test

* Cleanup

* Add another test

* Keep adding errors

* Another test

* Add comment

* More

* Do it

* Again

* Nice (#1265)

* Test governance

* Fix
2024-01-31 16:53:48 +00:00
guibescos 2ab72d994d
[solana] Add wrong vaa tests (#1262)
* Checkpoint

* Checkpoint

* Cleanup

* Checkpoint, debug

* Go

* Checkpoint

* Fix

* Add new error and test

* Cleanup

* Add another test

* Keep adding errors

* Another test

* Add comment

* Rename

* Rename
2024-01-31 14:16:43 +00:00
Dev Kalra 4edef3a4ed
[contract_manager] upgrade evm executor contracts (#1264) 2024-01-31 18:58:52 +05:30
Dev Kalra 2952eb0dc2
add sei to evm entropy file (#1261) 2024-01-30 20:00:07 +05:30
guibescos b0c6497fca
[solana] Solana tests 2 (#1255)
* Checkpoint

* Checkpoint

* Cleanup

* Checkpoint, debug

* Go

* update comment

* Add ci

* Update solana workflow

* Rename create_guardians

* Signatures

* Add some randomness

* Add randomness

* More randomness

* Do it

* Fix some clippies

* Change trim signatures
2024-01-30 13:55:23 +00:00
Dev Kalra 11c1fa7101
[executor/contract] add get methods and tests (#1260)
* add methods and tests

* add sequence check
2024-01-30 17:27:35 +05:30
Dev Kalra 343c784dd1
[EVM Price feed] deployments - lightlink, sei, fantom (#1245) 2024-01-30 17:15:30 +05:30
Ali Behjati 9c6bdfdcf9
feat(contract_manager): script for EVM feeds contract deployment (#1254)
* feat(contract_manager): script for EVM feeds contract deployment

This change adds a script to replace truffle deployment scripts. This
gives us more control and flexibility over the deployment process.

* chore: address comments

---------

Co-authored-by: Dev Kalra <kalradev@outlook.com>
2024-01-30 12:11:19 +01:00
Amin Moghaddam 16b60d426e
Add entropy error signatures for easier access and debugging (#1259)
* Add entropy error signatures for easier access and debugging

* Add signatures for ExecutorErrors
2024-01-30 11:32:48 +01:00
Dev Kalra 58411495a0
[Fortuna] register fortuna uri on chain (#1257)
* uri registration

* pre-commit

* use uri to create register uri

* pre commit

* move get register uri to api
2024-01-30 14:00:51 +05:30
Dev Kalra 6870209f45
[xc_admin] print hex instead of number (#1256)
* print hex instead of number

* rename copypubkey

* add spaces
2024-01-29 22:29:30 +05:30
Dev Kalra f7624d666f
[xc_admin_frontend] parse evm execute (#1253)
* parse evm execute

* add copy
2024-01-29 21:55:19 +05:30
Dev Kalra f3ad917c6b
[contract_manager] Support for entropy and evm executor (#1251)
* Add EvmExecute structures for governance

* Add ExecuteAction file

* uint 256 (#1250)

* Add in value field in ExecuteAction

* Add value arg in contract manager

* add tests for evm execute (#1252)

* add tests for evm execute

* add tests for buffer layout

* remove unneccessary test

* accept admin and ownership payload

* rename to add entropy

* update comment

* address comments

* minor rename

---------

Co-authored-by: Amin Moghaddam <amin@pyth.network>
2024-01-29 17:40:53 +05:30
guibescos e1db4aad65
[rust] Remove serde_wormhole patch (#1249)
* Do it

* Do it
2024-01-25 20:05:07 +00:00
guibescos 9697fad077
[solana/cosmwasm/near] Rust tests refactor (#1238)
* Try

* Near

* revert

* Try to add CI

* Cleanup

* Cleanup

* Fmt

* cleanup

* Fix CI

* Cleanup

* Cleanup

* Cleanup rust toolchains

* Pin to tag

* Rename to test-utils

* Add deps

* Checkpoint

* Checkpoint

* Checkpoint

* Fix wormhole stub

* Checkpoint

* Start debugging

* Green

* More green

* Cleanup

* More cleanup

* Cleanup

* Factor create_dummy_price_feed_message

* Format

* Cleanup imports

* Cleanup

* Near cleanup:

* Format

* Refactor constants

* cleanup

* More refactor

* Cleanup more magic numbers

* Remove magic numbers

* Cleanup

* Format

* Remove magic numnber
2024-01-25 18:25:07 +00:00
Dev Kalra 82cd11cc77
[Executor] minor fix (#1246) 2024-01-25 17:41:39 +05:30
guibescos 3e762aa985
[Near] Bump wormhole (#1239)
* Try

* Near

* revert

* Try to add CI

* Cleanup

* Cleanup

* Fmt

* cleanup

* Fix CI

* Cleanup

* Cleanup

* Cleanup rust toolchains

* Pin to tag
2024-01-25 11:31:36 +00:00
Amin Moghaddam 17ea0c19e0
Fix store saving/loading procedure (#1244)
yaml file names were based on contract types but they were using the old format
entropy contracts were not serialized
2024-01-25 15:04:20 +05:30
guibescos 6917c84b0e
[cosmwasm] Use ParsedVaa from wormhole contract (#1237)
* Use ParsedVaa from wormhole contract

* Cleanup

* Pin it

* Test this CI

* Cleanup

* Revert "Test this CI"

This reverts commit 0cb2caedd3d3f7d49d7f53cd0d67fc12be092c2f.

* Use tag
2024-01-24 17:40:15 +00:00
guibescos 35b5736533
[cosmwasm] Fix release ci (#1243)
* Fix ci

* Do it

* Try if it succeeds

* Another try

* Fix
2024-01-24 15:47:17 +00:00
Amin Moghaddam eef8468a22
Entropy support in contract manager (#1242)
* Rename contracts to PriceFeedContracts

* Initial version of EvmEntropyContract
2024-01-24 14:36:10 +01:00
Dev Kalra 70c6db0020
[evm contracts] add version to entropy and executor (#1240)
* add version to entropy and executor

* resolve
2024-01-24 18:05:34 +05:30
Dev Kalra 7db31aa7b5
[governance] add chain ids (#1241)
* add chain ids

* pre commit fix
2024-01-24 17:38:39 +05:30