* 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>
* feat: impl postAccumulatorUpdateVaa and postUpdates and CLI test changes
* feat: clean up
* refactor: reorganize and fix tests
* refactor: clean up
* chore: add rust-toolchain for solana target contract dir
* refactor: clean up and address feedback
* refactor: make emitter chain & post vaa program configurable
* feat: remove postAccUpdateVaa and use wh post_vaa in cli
* fix: add check for emitter address, hardcode expected emitter chain/addr for now
* chore: cleanup
* chore: clean up
* feat: address feedback, move checks from context into account, use signatureset for postupdates
* feat: use pubkey and require_keys_eq! for emitter addr check
* refactor: address feedback
add documentation and todos, revert programsimulator to use upgradable bpf loader
* feat: remove signature_set account from post_updates, update docs & readme
* test: add lazy static for setting up pyth binary but still has same invalidaccountdata issue
* chore: clean up
* refactor: remove unused errors
* feat: use UncheckedAccount for posted_vaa so owner can be checked dynamically against config
* feat(pyth-rng): first draft of pyth-rng
* adding api
* ok that wasnt so bad
* minor stuff
* add command to get current request
* refactor config
* refactor
* refactor
* ok
* ok
* it works
* blah
* stuff
* stuff
* builds
* builds
* ok it works
* more stuff
* cleanup
* ok stuff
* format
* docs
* ali comments
* correct fee
* warnings
---------
Co-authored-by: Reisen <reisen@morphism.org>
* refactor(message-buffer): rename accumulator-input to message-buffer
refactor any names with accumulator to message
* refactor(message-buffer): change accumulator seed to message
* feat(accumulator_updater): initial skeleton for accumulator_udpater program
Initial layout for accumulator updater program. Includes mock-cpi-caller which is meant to represent
pyth oracle(or any future allowed program) that will call the accumulator updater program. All
implementation details are open for discussion/subject to change
* test(accumulator_updater): add additional checks in tests and minor clean up
* chore(accumulator_updater): misc clean-up
* refactor(accumulator_updater): added comments & to-dos and minor refactoring to address PR comments
* price_service: add Rust implementation of P2P price service.
* price_service: formatting hook and removes junk
* price_service: add TODO regarding build.rs hacks
* price_service: allow CGo to link resolv on mac
* Repo structure refactor
This change introduces major codebase layout changes in three areas:
* Tilt devnet lives in tilt-devnet/ - all k8s and docker files,
scripts, local testing private keys are moved to this directory.
* pyth2wormhole becomes pyth-wormhole-attester and is relocated to
wormhole-attester/ - This long-needed rename will hopefully eradicate
most of the confusing naming around the attester. The Rust client binary
becomes pyth-wormhole-attester-client.
* Target-chain code lives in target-chain/ - This leaves just the
attester, third_party and pythnet-specific things at top-level.
Other opportunistic changes:
* Fixed rebuild trigger for Dockerfile.wasm
These items are a fraction of the necessary structure changes in the repo.
* cosmwasm: fix contract after faulty merge
* .github: remove unused dependabot config
* Fix path references in .github and .pre-commit-config.yml
* .github: Rename attester references to pyth-wormhole-attester
* .pre-commit-config.yaml: fix paths and run all commit hooks
* p2w-relay: Fix faulty merge resolution in favor of origin/main
* Dockerfile.pyth_relay: Fix Ethereum path reference
* Dockerfile.solana: Trip early cache with arbitrary change
* Dockerfile.pyth_relay: typo
* p2w-relay: fix evm build in npm script
* Dockerfile.solana: Retry invalidating cache again
* near -> target-chains/near
* wormhole-attester: bump on/off-chain major versions due to rename
Attester packages were renamed. This possibly breaks most dependees.
* Dockerfile.solana: Improve decoy-crate to have a real lib target
* .github/[...]/pyth-cosmwasm-contract.yml: typo
* rust-toolchain: Bump rust to stable 1.63
* rust-toolchain: use christmas nightly
* empty commit to trigger build
* attester-image-push.yaml: keep xc-attest image name intact
* multisig-wh-message-builder: remove accidental revert
* Use a new rustfmt file
* Run cosmwasm action only when needed
* Remove pre-commit from remote-executor action
* Fix formatting
* Run precommit for all files
As previous PR was merged without pre-commit
* Start anchor program
* pythnet folder
* Renames
* Implement processor
* Comments
* More comments
* Bump anchor
* Use new version of the wormhole package
* Get Solana chain id from wormhole core
* Pythnet bridge address
* Remove comment
* Fix borsh headers
* Format
* Fix precommit
* Fix precommit
* Precommit
* Add to CI
* Fix CI