Commit Graph

2405 Commits

Author SHA1 Message Date
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
Dev Kalra c0956f8157
[cosmwasm] contracts test and updates (#839)
* contracts test and updates

* wormhole deployment

* sei contract details update
2023-05-26 14:24:40 +05:30
guibescos db5d8c0fb1
Remove rent hack (#841) 2023-05-25 10:58:01 -05:00
guibescos 479a2d8b09
Make proposer server url a serverside prop (#840)
* Make proposer server url a serverside prop

* Make low caps
2023-05-24 15:37:26 -05:00
Ali Behjati 4072520006
[eth] Update accumulator deserialization (#838) 2023-05-24 16:05:17 +02:00
Dev Kalra 315fd413a8
[cosmwasm] osmosis mainnet deployment (#833)
* correct lable

* osmosis mainnet deploymnent
2023-05-24 17:39:23 +05:30
guibescos 2df32a6108
[remote-executor] Move overflow check (#837)
* Move overflow check

* Modify workflow
2023-05-23 21:06:24 -05:00
swimricky 8eba51d51b
build(pythnet-sdk): pin wormhole-sdk & serde_wormhole tag (#835) 2023-05-23 12:59:26 -04:00
guibescos ddc0b48118
[Xc admin] frontend to use server (#832)
* Import axios

* Switch to axios

* Fix

* Error handling
2023-05-23 10:32:48 -05:00
Jayant Krishnamurthy 01b54d2c58
Add PythErrors abi (#827)
* add error abis

* add to script too
2023-05-23 07:13:01 -07:00
Ali Behjati 5a75653969
[message-buffer] Fix setup message buffer command (#828) 2023-05-23 09:30:52 -04:00
Dev Kalra fbcb8a14f6
[cosmwasm] chain ids for pyth mainnet, pyth testnet stable, and pyth testnet edge feeds (#822)
* add chainids

* chain ids

* wormhole, instantiate, and test

* update chain structure

* update test script

* update chain id guidelines

* if brackets

* correct test arguments
2023-05-23 11:16:50 +05:30
guibescos 4f67343323
Test different precommit level (#831) 2023-05-22 12:56:06 -05:00
Reisen 5ee1f20e73
[pythnet] Update serialization for MerkelPath/MerkleAccumulator (#830)
* feat: update serialization for MerkelPath/MerkleAccumulator

* Fix incorrect variable name.
2023-05-22 18:31:54 +01:00
Dev Kalra e802593e76
[arbitrum] fix: max fee per gas less than block base fee (#829)
* fix

* bump version

* log error
2023-05-22 22:24:09 +05:30
Thomaz Leite ef6c9519be Bump price-service version 2023-05-22 10:08:05 -03:00
Thomaz Leite f1492ae3d5 Use native code for validating VAAs 2023-05-22 10:08:05 -03:00
Dev Kalra 1c529dd486
[price-pusher] sui (#825)
* sui pusher

* cache mapping

* typo

* remove comment

* add mainnet config

* update readme

* bump version
2023-05-20 00:05:34 +05:30
Jayant Krishnamurthy 4a17e7f914
known issues (#826) 2023-05-19 08:32:43 -07:00
Jayant Krishnamurthy f82c87e37d
Fix path to CW sdk (#823)
Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2023-05-18 11:27:01 -07:00
Ali Behjati e283b15d20
[price-service] Improve vaa validation (#814)
* [price-service/server] Improve Vaa Validation

* [price-service/server] Improve performance

* Update wormhole guardian version
2023-05-17 20:20:17 +02:00
guibescos f70f163f72
Build proposer server (#820) 2023-05-16 16:59:11 -05:00
guibescos e243e6734b
[Xc admin] proposer server (#816)
* Proposer server

* Add package-lock.json

* Add rpc as enviornment variables
2023-05-16 13:15:08 -05:00
swimricky c23fc8dbad
[message-buffer 17/x] separate payer from admin (#819)
* feat(message-buffer): add payer to all contexts requiring lamports for rent

separate admin from payer of account creation/resize/deletion

* test(message-buffer): add test for same admin & payer

* feat(message-buffer/scripts): keep payer & admin the same in init-buffer script for simplicity
2023-05-16 13:57:09 -04:00
swimricky a115d88b09
[message-buffer 16/x] - integration repo scripts (#818)
* feat(message-buffer/scripts): add init-buffer script for integration repo

* feat(message-buffer/scripts): fix init-buffer scrtips
2023-05-16 12:33:45 -04:00
swimricky f0888549d7
[message-buffer 15/x] - audit fixes (#817)
* fix(message-buffer): set payer as admin in initialize (TOB-PYTH-5)

* fix(message-buffer/delete_buffer): remove auth validation in delete_buffer & add test (TOB-PYTH-7)

* fix(message-buffer): fix non-security-related findings

use constant for seeds, cap max target size, add more tests

* refactor(message-buffer): use seed consts in initialize, remove unused errors

* refactor(message-buffer): address PR comments

refactor missed consts, make initialize more readable
2023-05-16 12:08:36 -04:00