* [ethereum] Update truffle config
hdwallet package was updated in the PR bringing lerna to this repo.
In the new package the constructor arguments have changed. This PR updates that and adds a helper function to make the config more clear.
* Update truffle-config.js
* Checkpoint
* New package lock
* Trigger CI
* Trigger CI
* Typo
* Package update after rebase
* CI
---------
Co-authored-by: Ali Behjati <bahjatia@gmail.com>
* stuff
* make this look better
* improving ux
* basic functionality works
* clean up appearance
* 3 seconds
* clean up code a bit
* blah
* change website title and favicon and fix useEffect warning
* actually change website title and fix useEffect warning
* update metadata
* trigger deployment
---------
Co-authored-by: Daniel Chew <cctdaniel@outlook.com>
* Move lerna to the top
* Set version to independent
Packages are versioned independently
* Update packages and the lock
* Add build cache and better reference
* Add lerna docker base
* Add wormhole_attester sdk and some minor impr
* Update tsconfig to fix outDir impact by composite
* Update eth package
* Update p2w to use solidity-sdk
* Change xc-admin CI to lerna CI action
* Add more packages to the list + bugfixes
* Update dockerfiles to have tilt working
* Format the code
* Fix some issues
* Fix the change of usePyth.ts
* lerna build fix
* Fix foundry
* add swap example
* make example a swap
* whatever
* make swap
* working on this thing
* it kind of works
* whatever
* doc
* cleanup
* pre-commit
* pr comments
* fix tests
* add disclaimer
Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
* Move price service to server directory
* Update references to price service
* Add pyth-common-js as the service client
* Update package names
* Add pyth-sdk-js
* Rename the sdk
* Change readme a bit
* fix bug where setting new pubkey and reverting the change doesnt reflect properly
* fix bug where switching to cluster with permissionAccount and switching back doesnt show default value
* remove console.log
* move example to cosmwasm
* gen schema and update developing.md
* update readme file
* remove example schema gen file
* correct var name
* correct the response of the query
* correct schema output
* wormhole-attester: Add a previous attestation timestamp field
This change bumps price batch format to v3.1 with a new backwards
compatible field - prev_attestation_time. This is the last time we've
successfully attested the price. If no prior record exists, the
current time is used (the same as attestation_time).
The new field is backed by a new PDA for the attester contract, called
'attestation state'. In this PDA, we store a Pubkey -> Metadata
hashmap for every price. Currently, the metadata stores just the
latest successful attestation timestamp for use with the new field.
* wormhole-attester: Use publish_time instead of attestation_time
* wormhole_attester: use prev_publish_time for non-trading prices