Commit Graph

2405 Commits

Author SHA1 Message Date
guibescos 3aa953e153
[xc-admin] Add support for arbitrary wormhole payloads (#759)
* Add vaa

* Remove the command from multisig_wh_message_builder

* Add comment to the multisig addresses
2023-04-13 11:51:57 -05:00
guibescos 99ed193764
[xc-admin] Add ser/de for Cosmos Upgrades (#758)
* Add ser/de for Cosmos Upgrades

* Add comment

* Fix print
2023-04-13 11:51:47 -05:00
Jayant Krishnamurthy c2484b1514
Gas usage experiments (#756)
* add gas usage experiments

* add proof verification

* extend existing contract

* update struct

* cleanup

* add threshold comparison

* ok this mostly works

* fix

* comment

* rename

* use rand utils
2023-04-11 07:07:45 -07:00
guibescos f5d11c248d
Rename init price (#755)
* Rename init price

* Set exponent
2023-04-10 20:30:58 -05:00
Dev Kalra 1371f18e84
add injective mainnet (#754) 2023-04-10 17:08:19 +05:30
Jayant Krishnamurthy 843a30c2c7
[solana] Add pre-commit for solana target chain contract (#753)
* precommit

* format
2023-04-09 19:38:29 -07:00
Ali Behjati 85b9c80e2a
[eth] Add Canto mainnet (#751)
* [eth] Add Canto mainnet

This deployment also enables contract rewards on canto. Since the
changed code is only specific to the Canto network and is used only
in initialization, only the diff is added as a file.

* Remove ds store

* Add some doc to deploying.md
2023-04-07 17:49:01 +02:00
Ali Behjati 71da520647
[eth] Deploy to Conflux eSpace (#748) 2023-04-07 16:23:20 +02:00
Dev Kalra 96c9e83e0f
[cosmwasm] Refactor deployer (#739)
* chain generic code

* pyth wrapper

* factory

* add calc fee and correct raw log

* add documentation

* rename method

* remove update fee  response

* add more documentation

* remove chain specific things

* minor tweak
2023-04-07 18:09:39 +05:30
guibescos e476199c2c
[xc-admin] Add pythtest-crosschain (#749)
* Add pythtest-crosschain

* Restore urls
2023-04-06 17:48:54 -05:00
guibescos 3842c9460b
Enable exponent update (#750) 2023-04-06 13:34:55 -05:00
swimricky 4502c6dcf9
[accumulator-updater 3/x] Update Inputs Ix (#741)
* 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

* feat(accumulator_updater): nmanual serialization for mock-cpi-caller schemas & use zero-copy

* chore(accumulator-updater): misc clean-up

* refactor(accumulator-updater): rename parameter in accumulator-updater::initalize ix for consistency

* style(accumulator-updater): switch PriceAccountType enum variants to camelcase

* refactor(accumulator-updater): address PR comments

rename schema to message & associated price messages, remove unncessary
comments, changed addAllowedProgram to setAllowedPrograms

* refactor(accumulator-updater): address more PR comments

consolidate SetAllowedPrograms and UpdateWhitelistAuthority into one context

* style(accumulator-updater): minor style fixes to address PR comments

* feat(accumulator-updater): implement update-inputs ix, add bump to AccumulatorInput header

* feat(accumulator-updater): implement update ix

* refactor(accumulator-updater): refactor ixs & state into modules

* docs(accumulator-updater): add comments for ixs

* feat(accumulator-updater): consolidate add/update_inputs into emit_inputs ix (#743)

* refactor(accumulator-updater): clean up unused fn, rename fns

* fix(accumulator-updater): fix error from resolving merge conflicts

* refactor(accumulator_updater): address PR comments

Remove account_type, rename emit_inputs to put_all to be more similar to a Map interface, added
AccumulatorHeader::CURRENT_VERSION

* docs(accumulator_updater): add docs for AccumulatorInput struct
2023-04-05 16:33:12 -07:00
Jayant Krishnamurthy c3b2322ac0
[solana receiver] Try solana signature verification builtin (#736)
* gr

* wtf

* wtf

* jfc

* jfc

* oh thank god

* make the test work

* cleanup

* cleanup
2023-04-05 10:44:45 -07:00
Dev Kalra bbdd98fa06
export cosmwasm instruction (#744) 2023-04-05 16:10:20 +05:30
swimricky cb44e15f33
[accumulator-updater 2/x] Manual Serialization & Zero-copy for Mock-cpi-program (#729)
* 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

* feat(accumulator_updater): nmanual serialization for mock-cpi-caller schemas & use zero-copy

* chore(accumulator-updater): misc clean-up

* refactor(accumulator-updater): rename parameter in accumulator-updater::initalize ix for consistency

* style(accumulator-updater): switch PriceAccountType enum variants to camelcase

* refactor(accumulator-updater): address PR comments

rename schema to message & associated price messages, remove unncessary
comments, changed addAllowedProgram to setAllowedPrograms

* refactor(accumulator-updater): address more PR comments

consolidate SetAllowedPrograms and UpdateWhitelistAuthority into one context

* style(accumulator-updater): minor style fixes to address PR comments
2023-04-04 06:34:14 -07:00
Ali Behjati 2db5a26752
[eth] Deploy to testnet Mantle (#742) 2023-04-04 13:34:32 +02:00
Ali Behjati 343091d788
[eth] Update ethereum js sdk readme (#738) 2023-04-04 10:04:12 +02:00
optke3 e4db9cac81
[sui 3/x]: events, dynamic fields, `update_price_feed`, `PriceInfoObject` (#714)
* state getters and setters, change Move.toml dependency to sui/integration_v2

* finish state.move

* add new line to pyth

* use deployer cap pattern for state module

* sui pyth

* update price feeds, dynamic object fields, Sui object PriceInfoObject

* register price info object with pyth state after creation

* PriceFeedUpdateEvent
2023-03-31 13:43:39 -05:00
Ali Behjati 111b0fa09f
[eth] Deploy to meter (#731)
* [eth] Deploy to meter testnet

* Add mainnet
2023-03-31 18:51:18 +02:00
optke3 55bc1b95bb
[sui 2/x]: `state`, `batch_price_attestation`, `set` (#710)
* state getters and setters, change Move.toml dependency to sui/integration_v2

* finish state.move

* add new line to pyth

* use deployer cap pattern for state module

* indent
2023-03-31 10:10:10 -05:00
Dev Kalra 614d35e3a5
[cosmwasm] contracts release (#734)
* test release

* mv instead of rm

* remove todos

* add comment
2023-03-31 19:13:30 +05:30
Dev Kalra ccc2e33dee
update cleanup (#735) 2023-03-31 18:12:28 +05:30
Dev Kalra 299417396b
[cosmwasm] implement a build script (#733)
* implement a build script

* update readme
2023-03-31 12:50:35 +05:30
Dev Kalra 0b9f1f161d
[cosmwasm] implement contract version (#730)
* remove depreceated config

* add a contract version

* check valid instantiation

* up a version and generate schema

* update contract upgrade code
2023-03-30 22:35:53 +05:30
Ali Behjati 1af86140f1
[hermes] Add basic structure for price store and rpc (#717)
Co-authored-by: Reisen <Reisen@users.noreply.github.com>
2023-03-30 14:27:02 +02:00
Cinque McFarlane-Blake 38a8c2831a
[evm] Deploy on Canto Testnet (#725)
* [evm] Deploy on Canto Testnet

* Redeploy

* Address feedbacks

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
2023-03-29 19:15:08 +02:00
swimricky 49d150acc2
Accumulator Updater Program (#712)
* 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
2023-03-29 09:56:03 -07:00
Jayant Krishnamurthy 94f38fdd74
Fix JS workflow (#727) 2023-03-29 09:36:25 -07:00
Dev Kalra 8da5965d5c
[cosmwasm] Release Contract (#726)
* build contract

* uploading artifacts

* test

* test

* different version for upload artifact

* update artifacts path

* add release code

* test

* update artifact path

* test

* update release names

* remove ls

* rename tag

* rename
2023-03-29 19:38:18 +05:30
Dev Kalra 1d9e48991b
update build process (#718) 2023-03-29 16:07:05 +05:30
Ali Behjati ce68b8e043
[wormhole-attester] Fix rate_limit logic (#721)
* [wormhole-attester] Fix rate_limit logic

* Address comments

* Trigger CI
2023-03-28 18:06:00 +02:00
Ali Behjati 272f11aac2
[eth] Redeploy shimmer testnet (#724) 2023-03-28 10:11:56 +02:00
Jayant Krishnamurthy 7dad38ea89
[evm] Deploy on Polygon ZkEVM mainnet (#723)
* [evm] Deploy on Polygon ZkEVM mainnet

* Trigger CI

* clippy

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
2023-03-27 08:18:09 -07:00
Ali Behjati 989ac4653a
Update .dockerignore (#722)
* Update .dockerignore

* Update .dockerignore + .gitignore

* Fix docker issue

* Update .dockerignore again

* Fix precommit
2023-03-27 16:44:08 +02:00
Ali Behjati 05649245fe
[price-pusher] Fix docker problem (#720) 2023-03-24 09:19:45 -05:00
Ali Behjati 575cd7075e
[price-pusher] Update Dockerfile (#719)
The package name was changed in a recent change and broke the dockerfile. This PR fixes it.
2023-03-24 08:54:30 -05:00
guibescos 8e8fcf133b
[xc-admin] Introduce the new UPGRADE_OPS_KEY (#716)
* Do it

* Cleanup
2023-03-23 17:03:27 -05:00
guibescos f62676d11d
Add send sol command (#715) 2023-03-23 17:03:19 -05:00
Jayant Krishnamurthy 02638fd865
Fix JS publish workflow again (#713) 2023-03-23 14:45:07 -05:00
Jayant Krishnamurthy c45664c951
[evm] Polygon ZKEVM deployment (#711)
* gr

* doc

* add zkevm deployment

* gr

* zkevm deployment

* add zkevm testnet
2023-03-22 13:04:47 -07:00
Jayant Krishnamurthy 75a795dbf8
fix (#709) 2023-03-21 12:59:21 -07:00
Jayant Krishnamurthy e995a2b89e
Add CI workflow to publish javascript packages (#707)
* workflows

* try private

* private

* more private

* update files

* fix workflow

* hm

* hm

* bump version

* bump version

* another bump

* text

* update readme

* update package lock
2023-03-21 12:25:30 -07:00
optke3 cbcc294017
sui: integration start, set up dependencies, copy over modules from Pyth-Aptos (#706)
* start

* move over initial contracts from aptos

* newline Move.toml
2023-03-21 09:58:29 -05:00
Reisen 3f56b3064d
[hermes] Rename from price service and add README. (#705)
* pyth-node: rename from price service and document

* pyth_node: Add visual architecture to README.
2023-03-21 14:36:13 +00:00
Jayant Krishnamurthy a9f5cfcced serial tests 2023-03-20 13:07:01 -07:00
Jayant Krishnamurthy 9fef120b1f
[sdk] Move Solidity sdk into this repo (#674)
* fix dependencies

* wtf

* remove redundant pre-commit

* some sort of lerna issue

* fix dockerfile
2023-03-20 12:25:28 -07:00
guibescos d06c10502d
[evm] Verifying shimmer_testnet and neon_devnet with hardhat (#703)
* Add shimmer testnet and neon_devnet

* zksync comment

* Add verify
2023-03-17 09:47:59 -05:00
guibescos ab779d058f
Reset urlIndex (#700) 2023-03-16 20:46:07 -05:00
Ali Behjati fc0de28b86
[eth] Update zksync goerli after network reset (#697) 2023-03-16 09:36:13 +01:00
Reisen 032ecd66bf
[price-service] Rust implementation of a P2P price service. (#694)
* 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
2023-03-15 17:18:05 +00:00