* add binary query string to /latest_price_feeds
* fix precommit
* fix both rest and ws tests
* bump package version
* fix tests to use the latest schema
* solana-devnet: Deploy a copy of the Mesh multisig program
* solana/keys: Add keys for multisig testing
* *.py: Remove airdrop, use devnet_setup.sh keypair instead
* Dockerfile.p2w-attest: Improve caching
- Move cheap Python script additions after the expensive rust build
- Cache Cargo's package cache to shorten the "updating crates.io registry" build steps
* Add a multisig Tilt resource, k8s yaml and runtime script
This contains most of the work on Tilt/testing harness side.
* multisig-wh-message-builder: Add init-vault subcommand
This new subcommand enables the runtime Python script to create a
multisig vault on the fly on the mock Solana devnet.
* multisig-wh-message-builder: findProgramAddress -> getMsPDA
* mutlisig-wh-message-builder: apply review advice
- Use default mesh program address
- remove unused program.json
- remove redundant null checks
- hardcode vault address (it is deterministic against the constant
mesh program pubkey)
- Start depending on solana-devnet in Tilt
- Add carol to vault and set threshold to 2
* Add new networks RPCs
* Update governance sdk to support Wormhole receiver
* Fix receiver deployment script bugs
* Add new network configurations
* Add a comment about merging wh and receiver chains
* Bump contract version
* Some refactoring to add types with JSDoc
* Use better RPCs for some networks
* Remove unneeded migration files
* Add initial syncPythState script that does upgrade
* Update truffle-config for new gas values
* Refactor to make this change easier
* stop mutating AttestationConfig
* get the product names also
* ok
* refactor
* cleanup
* more cleanup
* more cleanup
* comment
* i think this works
* fix stuff
* clippy
* more cleanup
* main
* main
* fix formatting
* blah
* test
* cleanup
* fix python
* config
* fix test
* grr
* grr
* comments
Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
- Remove nodejs default metrics. We don't use them.
- Remove response time metric.
- Remove freshness metric and add gap metric for attestationTime and publishTime.
They are similar; however, freshness was measured upon user request but gap is
measured upon receiving the next update.
- Change receivedVaa to actually represent distinct vaa received. Prior
to this, the older vaas, or vaas with same attestation time were
not counted in this metric. This will also improve the performance.
- Refactors the code a little. `vaaBytes` type was not string and was
Buffer. It is fixed now.
* 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
* pyth2wormhole-client: Stagger attestation sched jobs
* pyth2wormhole-client 1.0.0-rc1
This is an initial semver release for the pyth2wormhole-client package.
* p2w_autoattest.py: Add env for atteser --timeout option
* pyth-attesster v1.0.0-rc2
* pyth-attester-v1.0.0-rc3
This fixes a typo in p2w_autoattest.py
* pyth-attester-v1.0.0
* [test-publisher]: Set cap on dyn added symbols
Currently the test publisher creates a new symbol every two minutes
without any cap and running tilt for a
long time will eventually drain all the resources.
This change sets a cap of PYTH_TEST_SYMBOL_COUNT
on the dynamically added symbols. It means that the publisher
starts with PYTH_TEST_SYMBOL_COUNT and will add at most
PYTH_TEST_SYMBOL_COUNT new symbols after that
* Update third_party/pyth/pyth_publisher.py
Co-authored-by: Stanisław Drozd <stan@nexantic.com>
* Update third_party/pyth/pyth_publisher.py
Co-authored-by: Stanisław Drozd <stan@nexantic.com>
* Update third_party/pyth/pyth_publisher.py
Co-authored-by: Stanisław Drozd <stan@nexantic.com>
Co-authored-by: Stanisław Drozd <stan@nexantic.com>
* Move some configs to a config file inside code
* Remove redundant ledger logs
* Use getSquads for execute too
* Refactor ledger logging removal
* update Readme
* pyth2wormhole-client: automatically crawl mapping based on interval
* Make the mapping crawl automation seamless
* pyth2wormhole-client: Make mapping crawling routine more robust
This change takes care of recoverable mapping crawling
errors (e.g. malformed single price on single product is no longer
dropping otherwise good different prices and products in the mapping
in favor of a warn message)
* pyth2wormhole-client: Move mapping crawl sleep near logic it affects
* pyth2wormhole-client: remove stray comment
* pyth2wormhole: Fix faulty merge with master
* pyth2wormhole-client: Fix mapping crawl price counting
* pyth2wormhole-client: split daemon/non-daemon, improve readabi[...]
...lity and remove most warnings
* pyth2wormhole-client: parts-per-thousand -> base points
* pyth2wormhole-client: inaccurate comment
* p2w-client: review advice - bp -> bps, std hasher -> sha256
* pyth2wormhole-client: reuse message queue across mapping lookups