* try python version env spec
* Test it out on pull request
* test env change
* test env change 2
* test env change 3
* test env change 4
* address circular import
* test
* test
* test
* test
* test
* undoing test
---------
Co-authored-by: Amin Moghaddam <amin@pyth.network>
* fix(hermes): fix a broken test
* refactor(hermes): add clippy to pre-commit
* feat(hermes): add ci for tests
* chore(hermes): remove legacy go footprint
* fix: add protoc action for ci
* chore: rebase on top of main
* fix: use right rust version for the Dockerfile
* fix: fix precommit ci
* move js searcher sdk
* add the python searcher sdk
* remove pycache
* create class for simple searcher
* add websocket to python searcher sdk
* finish ws, avoid storing liquidation opportunities within client
* python scripts now working w auto type generation
* minor precommit changes
* address comments 1
* add openapi type generations
* fixed precommit issues on generated type files
* reorg
* fixed openapi_client generated precommit
* fix js filepath issue
* added close ws
* renamings and add send_ws_message method
* get rid of duplicate error parsing
* cleanup
* set up pypi workflow
* address comments
* add python precommit
* changes + precommit changes
* test precommit change
* test precommit change
* test precommit change
* test precommit change
* test precommit change
* test precommit change
* test precommit change
* test precommit change
* test precommit change
* correct directory for poetry in pypi wf
* remove isort
* rename package
* add UUID and some cleanup
* new openapi typings
* add pydantic to pyproj
* more changes
* precommit
* remove extraneous files, stick w actual_instance
* added back http as nondefault
* correction
* some cleanup and reorg
* minor changes
* add back api response typing file
* minorer changes
* exclude openapi_client from end of file fixer
* build internal models via pydantic
* chgs
* start to reorg classes
* configure precommit to work
* some cleanup
* reorg a bit
* address comments
* chgs
* fgt
* morechgs
* some more chgs
---------
Co-authored-by: ani <ani@Anirudhs-MacBook-Pro.local>
Co-authored-by: ani <ani@Anirudhs-MBP.cable.rcn.com>
* 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
* Replace xc-governance-sdk with xc_admin_common package
xc_admin_package was not using the CHAIN overrides declared in the governance-sdk so it was moved
to that package as well
* Replace xc-governance-sdk with xc_admin_common in other packages
* Remove the package and all of its references
* Fix tests
* Fix bug in GovernanceDataSourceTransfer encoding
* Rename all references to the old package
* Redeploy neutron_testnet contract with new chain id
* Move SetWormholeAddress to separate file
* merkle tree impl
* - take leftmost 20 bytes in hash
- don't assign output of cursor::take_rest to _, instead just drop it
* push PREFIXes (MERKLE_LEAF_PREFIX, MERKLE_NODE_PREFIX) to front instead of back
* delete testXOR
* test construct merkle tree depth exceeded error
* invalid merkle proof test cases
* comments
* rename failure tests
* simplification for initializing a vector
* fix leafHash bug, add tests for hashLeaf and hashNode
* pyth accumulator start, extract_price_info_from_merkle_proof, parse_price_feed_message
* parse_price_feed_message, parse_and_verify_accumulator_updates
* implementation + debugging for merkle pyth accumulator
* edit merkle tree
* testNodehash
* test hash
* delete prints
* test case for parse and verify TEST_ACCUMULATOR_3_MSGS
* hot potato vector -> authenticated price infos
* refactor - move tests from pyth_accumulator to pyth to avoid dependency cycle
* remove _ from deserializing unused vaa
* add sui-contract.yml for github actions
* AuthenticatedPriceInfos -> AuthenticatedVector
* charge base update fee per call to update_single_price_feed
* add back multiple tests, including test_create_and_update_price_feeds_insufficient_fee, update cache, update cache old update
* test multiple price feed creation and update accumulator
* authenticated_price_infos.move -> authenticated_vector.move
* 5 * single_update_fee
* delete some comments, add accumulator test info
* don't make TEST_VAAS test_only in pyth.move
* remove #[test_only]s
* assert price info object contains correct price feed info
* factor out some constants from accumulator test cases to reduce duplicate code
* add sui-contract.yml file for github actions CI
* more refactor and clean-up
* assert price_info_object_1 is correct in test_create_and_update_price_feeds_with_batch_attestation_success
* removed the parse_and_verify_accumulator_message_with_worm_state entirely, and instead added the helper parse_vaa_bytes_from_accumulator_message
* edit comment
* update comment
* edit sui github ci
* fix for sui-contract.yml
* MINIMUM_SUPPORTED_MINOR_VERSION and MAJOR_VERSION
* remove test_get_price_feed_updates_from_accumulator and parse_vaa_bytes_from_accumulator_message from pyth_accumulator.move
* test_parse_and_verify_accumulator_updates_with_extra_bytes_at_end_of_message
* sui contract yml update
* use rev to cargo install sui in github actions ci
* cargo install --locked for github CI
* Pin dependency versions
* Implement accumulator support on aptos
* Fix formatting on error.move in aptos
* Add CI workflow for aptos
* Upgrade to aptos cli 1.0.4
* 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