Commit Graph

2246 Commits

Author SHA1 Message Date
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
Jayant Krishnamurthy 04a8b75f80
add docs (#690)
Co-authored-by: Jayant Krishnamurthy <jkrishnamurthy@jumptrading.com>
2023-03-15 07:25:01 -07:00
Dev Kalra 94032fa521
[price-pusher] Injective error handling (#696)
* add few errors check in injective

* update injective sdk version to fix error

* bump version
2023-03-15 19:43:24 +05:30
njk-64 ed37358da2
adding cosmwasm audit reports (#695)
* adding cosmwasm audit reports

* updating report link
2023-03-15 16:59:59 +05:30
Dev Kalra e81bfdf428
[price-pusher] Simulate injective tx (#689)
* simulate tx to calculate gas

* update package version

* injective class: flexible
2023-03-15 14:33:25 +05:30
guibescos 156fb23f24
[evm] deploy neon devnet (#693)
* add evmos_testnet deployment files

* fix precommit

* Deploy to neon

* Precommit

* Add to evm-js

* Fix precommit

---------

Co-authored-by: Daniel Chew <cctdaniel@outlook.com>
2023-03-14 22:48:46 -05:00
guibescos eaf5f45212
Fix typo (#692) 2023-03-14 22:48:36 -05:00
Dev Kalra a5ddf84eb7
option correct name (#688) 2023-03-14 23:14:57 +05:30
Dev Kalra 93ca9c427a
migration logic (#687) 2023-03-14 14:58:57 +05:30
Daniel Chew de0096efd4
[eth] add evmos mainnet (#686)
* add evmos mainnet

* add evmos to sdk
2023-03-14 18:12:49 +09:00