Commit Graph

2782 Commits

Author SHA1 Message Date
Jayant Krishnamurthy 7cf7420203
[entropy] add entropy ABIs to solidity sdk (#1219) 2024-01-10 10:57:03 -08:00
Dev Kalra 0eee513bf9
[fortuna] bind provider and contract address (#1218)
* bind provider and contract address

* pre commit
2024-01-10 14:49:34 +05:30
guibescos 43bc28d000
[Solana] readme update (#1217)
* Reuse accounts

* Readme update

* Readme udpate

* revert this one
2024-01-09 12:10:33 +00:00
Amin Moghaddam d0ceb076d8
[evm] Persist price updates if more recent (#1208)
* Persist price info if it is more recent in parse functions

* Refactor setLatestPrice to include checks and event in a single place

* Add test cases
2024-01-09 10:30:20 +01:00
guibescos a94194184b
[solana] Reuse accounts (#1216)
* Reuse accounts

* add comment
2024-01-08 20:08:55 +00:00
guibescos 0ce4c4c8fe
Fix it (#1215) 2024-01-08 20:04:31 +00:00
guibescos e388281dc0
[solana] Fix guardian set owner bug (#1214)
* Fix the owner bug

* Remove seeds in context
2024-01-08 19:58:28 +00:00
guibescos c1cc7127c2
Use official wormhole, introducing VerificationLevel (#1212)
* Do it

* Do it

* Cleanup deps

* Delete this
2024-01-08 19:03:30 +00:00
guibescos 6c45ed81ad
Fix pythnet-sdk ci (#1213)
* Fix CI

* Does this work?
2024-01-08 18:09:31 +00:00
guibescos 3458dd5b7d
[solana] Post update atomic (#1210)
* Post update atomic

* Checkpoint cli

* Fix bug

* Atomic

* Cleanup

* Cleanup

* Cleanup

* Cleanup

* Comment

* Add wormhole errors

* refactor trim signatures
2024-01-08 14:27:03 +00:00
Dev Kalra 2d5e030149
[executor] call contract with value (#1206)
* call contract with value

* address feedback
2024-01-08 17:29:32 +05:30
Dev Kalra 3e05edba24
[fortuna] accept only a secret file as argument (#1204)
* accept file only

* pre commit
2024-01-08 16:24:43 +05:30
Dev Kalra 220e06a62d
test owner upgradable (#1207) 2024-01-07 17:31:34 +05:30
guibescos 1778871b8b
[solana] Post price with 13 signature verifications in 2 transactions (#1209)
* Rebalance transactions so you can post an update in two transactions

* Remove magic number

* Cleanup

* Cleanup

* Add comment
2024-01-05 17:41:35 +00:00
Dev Kalra 1816838c8a
[executor] implement upgradability (#1198)
* get all test to work

* executor upgradable

* update comments

* address feedback

* fix tests
2024-01-04 15:59:29 +05:30
Dev Kalra cd604d56f2
copy dependency too (#1203) 2024-01-04 15:54:23 +05:30
Dev Kalra 009c5cdabe
[audit] Secrets appear in environment variables and command line arguments (#1201)
* accept secret as a file too

* run pre-commit

* address feedback
2024-01-04 14:47:33 +05:30
Amin Moghaddam e1606a42b5
Add Base sepolia + some minor improvements (#1202)
* Add base sepolia

* Fix broken rpc urls

* Small fix
2024-01-03 11:30:17 +01:00
Dev Kalra 6463f1a98f
fix check an active request (#1200) 2023-12-21 15:50:47 +05:30
Dev Kalra 3565ee627e
point entropy sdk docs to pyth docs for current deployments (#1199) 2023-12-21 15:26:26 +05:30
Dev Kalra 5bdc7adf5e
[fortuna] sample config (#1193)
* it should be a sample config

* fix pre commit

* remove config.yaml
2023-12-19 17:23:45 +05:30
Ali Behjati a270b64844 chore(price_service): update spy version and bootstrappers
The new spy has a QUIC upgrade logic for mainnet which happens on
January 16. This upgrade is breaking and all the spy runners should
upgraded their spies.
2023-12-19 11:15:25 +01:00
Ali Behjati 4f7c5e9dcd chore(target_chains/ethereum): update testnet contract addresses 2023-12-19 10:47:49 +01:00
Ali Behjati db13b7b25d address feedbacks 2023-12-19 10:11:34 +01:00
Ali Behjati 39df9a2465 feat(contract_manager): add a script to deploy evm contract 2023-12-19 10:11:34 +01:00
guibescos 6f3dd5cd10
[solana-reciever] update docs (#1192)
* Docs

* Fix

* Do it

* Address feedback
2023-12-18 21:56:02 +07:00
Amin Moghaddam 51d23a2f52
chore(eth) Add zksync-sepolia (#1190) 2023-12-18 10:29:59 +01:00
guibescos a60279a2cc
[solana-receiver] Post price update (#1189)
* Do it

* Remove keypairs

* add check comment

* Works

* Cleanup deps

* Next

* Add better docs
2023-12-18 11:46:45 +07:00
guibescos 4aa60453bd
[solana-receiver] Initialize receiver from CLI (#1191)
* Initialize

* Update address

* cleanup
2023-12-18 11:08:08 +07:00
guibescos 0a86414523
[pythnet-sdk] Fix CI. Make dependency path. (#1188)
* Update status

* Lfg
2023-12-16 02:21:11 +07:00
Dev Kalra 3ecbca7daa
[fortuna] update config and abi (#1187)
* update config and abi

* introduce sepolia later

* update sdk readme

* fix lightlink issue

* update link
2023-12-15 17:30:38 +05:30
guibescos 178ad4cb0e
[pythnet-sdk] Bump borsh add borsh to MerklePriceUpdate (#1186)
* Add borsh

* Bump borsh

* Cleanup

* Try

* Cleanup

* Do it

* Add a test
2023-12-15 10:47:22 +07:00
guibescos 7bf41c40e6
[solana-receiver-cli] Add logic to receive VAAs with the new Wormhole receiver (#1184)
* Checkpoint

* Checkpoint

* Cleanup

* More cleanup

* Cleanup

* Should work

* Rename

* New receiver post-vaa

* Rename legacy

* Checkpoint

* ADd compute units

* Revert htis file

* Rename

* Comments
2023-12-15 10:33:17 +07:00
guibescos f78301d019
[pyth-solana-receiver-cli] Initialize solana wormhole receiver (#1180)
* Checkpoint

* Checkpoint

* Checkpoint

* Cleanup

* More cleanup

* Cleanup

* Cleanup

* Should work

* reorder

* Send it

* Rename

* Add comment
2023-12-15 02:21:02 +07:00
Amin Moghaddam 1be8a02b94
Expose gas-price option for injective price pusher (#1185) 2023-12-14 14:19:36 +01:00
Dev Kalra 5d951ee755
[entropy] audit 4. users can influence the Entropy revealed result (#1179)
* add a check for blockhash

* add comment

* update test name

* comment update

* change block number

* change order for assertions

* pre commit run

* names and comments
2023-12-14 17:57:45 +05:30
Dev Kalra d420786166
[entropy] audit: 7. Entropy providers may reveal seed before request is finalized (#1182)
* check request at the most recent finalized block

* update version
2023-12-14 17:55:10 +05:30
Dev Kalra 654c1eae89
add zero value check (#1181) 2023-12-14 17:54:43 +05:30
guibescos 9875bc2ba4
feat(target-chains/solana): Implement governance for the solana pull oracle (#1175)
* Do it

* Go

* Address some feedback

* Update size of config
2023-12-14 19:11:34 +07:00
guibescos 1d82f92d80
[xc-admin] Add activate button for drafts (#1183)
* add proposals

* Revert

* rename

* Add waiting before retrying

* Increase retries, add time between retries

* Bump retries to 10

* Do it

* Update
2023-12-13 22:32:01 +07:00
Dev Kalra f0c67c5996
[entropy] audit: 3. two step transfer (#1178)
* two step owner transfer

* admin two step transfer

* remove redundant test
2023-12-13 16:45:07 +05:30
Dev Kalra 941ee777f0
[entropy] audit - 2. lack of contract existence check (#1177)
* contract existence check

* better comment
2023-12-13 16:42:21 +05:30
Ali Behjati 245cc231fd refactor(hermes): improve logging 2023-12-11 18:54:55 +01:00
guibescos f12df1528b
Update wormhole endpoint (#1171) 2023-12-09 00:54:38 +07:00
Amin Moghaddam 8adac4344f
chore(eth) Add bttc (#1172)
* chore(eth) Add bttc
2023-12-08 22:56:16 +08:00
Ali Behjati 93e9c49b60 fix(hermes): handle price feed removal properly 2023-12-07 18:20:31 +00:00
Reisen 214bafa420 near: internal feedback 2023-12-07 17:40:18 +00:00
Reisen 415ca4f9b1 near: add vaa verify to claim, also fixes private 2023-12-07 17:40:18 +00:00
Reisen bd24d4d42c near: address both refund logic issues 2023-12-07 17:40:18 +00:00
Reisen f3dce0e316 near: make codehash safe for repeat upgrades, document 2023-12-07 17:40:18 +00:00