Commit Graph

3030 Commits

Author SHA1 Message Date
swimricky 91ccaee57c
[message-buffer] improve logging for setup message buffer script (#872)
* chore: better loggging for init script

* fix: change init-buffer script to use npx
2023-06-09 13:44:33 -07:00
Ali Behjati c1ccef239c
[xc-admin] Fix frontend Dockerfile (#873) 2023-06-09 21:03:08 +02:00
Ali Behjati 95ca9d1d92
[xc-admin] Add message buffer instructions (#869)
* [xc-admin] Add message buffer instructions

* Use coral-xyz/anchor

* Address feedbacks

* Address feedbacks
2023-06-09 19:56:40 +02:00
Ali Behjati 183081cc20
Expose pythnet message buffer idls (#865) 2023-06-09 14:10:28 +02:00
swimricky 31e8d020cc
[eth] - optimize parse/updatePriceFeeds for gas & bytesize (#868)
* perf: optimize parse/updatePriceFeeds for gas & bytesize

* chore: cleanup

* refactor: renaming functions

* test: add benchmark tests for parse with wh merkle, clean up duplicate code
2023-06-08 13:49:21 -07:00
Reisen 624222e0c8
[pythnet-sdk] Allow as_bytes()/to_bytes() for MerkleRoot/MerklePath (#866)
* feat: allow as_bytes() for MerkleRoot

* feat: add borsh serialization to merkle types
2023-06-08 18:16:25 +01:00
Ali Behjati 7847a79b6a
Update rustfmt (#864) 2023-06-08 15:07:15 +02:00
Reisen 0b7805f285 fix: expose MerkleTree as a real interface that is accumulator friendly 2023-06-08 12:16:50 +01:00
Ali Behjati 0330c9d387
[ci] Fix pre-commit (#863) 2023-06-08 09:45:14 +02:00
swimricky 9ddc7fdc7d
Ethereum/parse price feed updates accumulators (#855)
* feat(target-chains/ethereum): add accumulator support for parsePriceFeedUpdates

* feat(target-chains/ethereum): working impl & test of parsePriceFeedUpdates w/ accumulator data

* refactor(target-contracts/ethereum): refactor pyth accumulator

* refactor: remove console logs & imports

* refactor(target-chain/eth): refactor and more tests

* feat(target-chains/ethereum): address PR feedback

refactor, add parse revert tests

* chore: fix comment

* test(target-chains/ethereum): add/clean up tests

* test: add another test

* test: address more feedback
2023-06-07 12:44:47 -07:00
Ali Behjati bdc3fede24
[eth] Deploy to Kava (#859)
* [eth] Deploy to Kava

* [eth] Bump sdk/js package version

* [eth] Fix pre-commit
2023-06-07 15:29:03 +02:00
guibescos e39db174d0
[pythnet-sdk] Add merkleRoot (#858)
* Add merkleRoot

* Restore file
2023-06-07 12:09:34 +01:00
Mohammad Amin Khashkhashi Moghaddam f764fc8411
Bugfix for magic value check and additional serde test (#860) 2023-06-07 12:50:24 +02:00
Jayant Krishnamurthy b5cfc0cddd
Update readme with hosting recommendations (#852)
* Update readme with hosting recommendations

* add cores
2023-06-06 15:51:49 +02:00
Ali Behjati 404bc6cb81
[ci] Fix pre-commit (#857)
* Update pre-commit

* Update CI rust
2023-06-06 13:15:32 +02:00
Reisen cf7c6839eb address feedback 2023-06-05 15:19:48 +01:00
Ali Behjati 3a1b2a36b3 Address comments 2023-06-05 15:19:48 +01:00
Reisen 468817c5bc Update p2p.go to use tabs 2023-06-05 15:19:48 +01:00
Ali Behjati 417fa50f14 Add Dockerfile + CI release action 2023-06-05 15:19:48 +01:00
Ali Behjati 02de29624c Add vaa cache 2023-06-05 15:19:48 +01:00
Ali Behjati 04806a551e Refactor 2023-06-05 15:19:48 +01:00
Ali Behjati 4fa9304b4f Move Message type extensions to pyth-client 2023-06-05 15:19:48 +01:00
Ali Behjati c19f519839 Implement useful methods on PrefixedVec 2023-06-05 15:19:48 +01:00
Ali Behjati c707e42fb8 More refactor 2023-06-05 15:19:48 +01:00
Ali Behjati 9dd1520a25 Small refactor 2023-06-05 15:19:48 +01:00
Ali Behjati 23340d5e6c Clippy 2023-06-05 15:19:48 +01:00
Reisen 454cd03b90 updates 2023-06-05 15:19:48 +01:00
Reisen 065fba29b1 feat: correct wire format definitions 2023-06-05 15:19:48 +01:00
Reisen a1dff0f5ac feat: add serializers for pyth formats
feat: use pythnet serialization in hermes

Fix vaa validation

Clippy

Update config names

Wrap Store with Arc

Store works perfectly without Arc as all it's elements are behind an Arc
or something similar to that, however a developer might make
mistake to add a field and missing it.

Improve error handling

Update metadata struct

Add metadata

Update Eth listener

Pin wormhole to a version

Fix ws dispatcher

fix: blocking in go recv corrupts tokio runtime

Make network <> store message passing non-blocking

Update logs and revert debug changes
2023-06-05 15:19:48 +01:00
Ali Behjati 8aeef6e6bd Add vaa verification 2023-06-05 15:19:48 +01:00
Ali Behjati d77070feae clippy 2023-06-05 15:19:48 +01:00
Ali Behjati d70119c067 Use pyth-oracle types 2023-06-05 15:19:48 +01:00
Ali Behjati 15e35aa300 Fix wormhole message parsing 2023-06-05 15:19:48 +01:00
Ali Behjati fca22a5b2e Fix pythnet listner 2023-06-05 15:19:48 +01:00
Ali Behjati ec5ad5fe79 Use slot for pending accumulations 2023-06-05 15:19:48 +01:00
Ali Behjati 05bd9b4be7 Use wormhole sdk 2023-06-05 15:19:48 +01:00
Ali Behjati d93154a58d Fix ping problem from client 2023-06-05 15:19:48 +01:00
Ali Behjati 866eace744 Add initial version 2023-06-05 15:19:48 +01:00
Jayant Krishnamurthy 925f606550
Fix oracle swap example and add docs (#856) 2023-06-03 07:39:00 -07:00
guibescos 11cb14ca76
Deploy neon (#854)
* Push

* Add config

* Sync up optimization for hardhat and truffle
2023-06-02 11:29:35 +01:00
Jayant Krishnamurthy 64bce66383
Choose unique VAA for query time if it exists (#853)
* hmm this way works but is complicated

* choose unique vaa

* update tests

* lint

* bump versions
2023-06-01 07:32:10 -07:00
Reisen af2d7b6e38 feat: add serializers for pyth formats 2023-05-31 16:20:49 +01:00
swimricky 3e5b4bb095
test(pythnet-sdk): add hardcoded expected pythtest accumulator sequence unit test (#846) 2023-05-30 11:17:46 -07:00
guibescos e7b6dabdd8
Increase payload to 50MB (#848) 2023-05-30 09:46:36 -05:00
Dev Kalra afecda7881
sei mainnet deployment (#851) 2023-05-30 13:11:03 +05:30
Daniel Chew 6cdcf4dffd
make cosmwasm deploy tools private (#850) 2023-05-29 21:25:42 +09:00
Daniel Chew f99f23c416
update price service sdk (#849)
* update price service sdk

* bump version

* fix test

* include slot

* bump price-service-client version

* bump all that uses price-service-client

* bump all that uses price-service-client
2023-05-29 20:18:29 +09:00
guibescos ce8e064c98
Fix race condition once and for all (#847) 2023-05-26 20:26:38 -05:00
guibescos 73c2af21a7
[remote-executor] Isolate wormhole-solana crate (#843)
* Point to another wormhole sdk

* Works

* Reset this dir

* Refresh cargo lock

* Bump solana

* Pin git packages

* Allow large errors

* Update to the right wormhole-solana

* Fix cli

* Add cargo lock

* Remove print statement
2023-05-26 14:02:24 -05:00
swimricky e670f57f89
feat(message-buffer): add init msg buffer pda to script, fix msg buffer pid (#845) 2023-05-26 11:37:06 -07:00