Commit Graph

2817 Commits

Author SHA1 Message Date
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
guibescos 3c1348c530
feat(price-service-sdk) implement accumulator update data deserialization (#1308)
* Export

* Cleanup sui

*  Add comment

* Bump packages
2024-02-21 19:34:31 +00:00
Amin Moghaddam c9a578b773
chore(entropy) add new network (#1315) 2024-02-21 21:59:45 +05:30
Amin Moghaddam 289c6ff177
chore(evm): remove base goerli as the network is halted (#1313) 2024-02-21 16:31:16 +01:00
Jayant Krishnamurthy 00e2a024aa
[entropy] Remove warning in SDK docs (#1309) 2024-02-21 06:49:03 -08:00
Amin Moghaddam a4b9cb7471
chore(evm): new deployments (#1312) 2024-02-21 14:05:29 +01:00
Ali Behjati cc7b57145b
chore(xc_admin/frontend): set pythnet max publishers to 64 (#1305)
* chore(xc_admin/frontend): set pythnet max publishers to 64

* chore: fix ci
2024-02-21 13:46:06 +01:00
Amin Moghaddam a71f422ddc fix(fortuna): add log for reveal failure 2024-02-21 10:39:40 +01:00
Amin Moghaddam cfe8d0f777 fix(entropy): Update fortuna domain 2024-02-21 10:39:40 +01:00
Anirudh Suresh 698b894ca6
simplify signature fix (#1304)
Co-authored-by: ani <ani@Anirudhs-MacBook-Pro.local>
2024-02-20 09:40:49 -05:00
guibescos 26a3ebbfd7
refactor(solana): separate anchor state to another crate (#1302)
* Finish refactor

* Move constant
2024-02-20 12:07:57 +00:00
Daniel Chew 25cf8f8185
[hermes] fix v2 endpoints return format (#1299)
* remove outermost array

* bump
2024-02-16 13:01:48 +09:00
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