Commit Graph

3030 Commits

Author SHA1 Message Date
guibescos d1c5d93c8e
feat(price_pusher): use retry send transaction logic in pusher (#1438)
* Checkpoint

* Nits

* Nits

* fix: type

* Bump pusher version
2024-04-10 16:24:37 +01:00
Jayant Krishnamurthy ee455f1196
[solidity sdk] Add zerolend AggregatorV3 adapter to SDK (#1437)
* add zerolend cl adapter to sdk

* bump versions
2024-04-10 06:56:42 -07:00
Pavel Strakhov 2c7dfa92dd feat(target_chains/starknet): create project 2024-04-10 11:25:52 +01:00
Reisen b4ed825cd6 refactor(hermes): state->benchmarks downcasting 2024-04-10 09:45:24 +01:00
Reisen 110c6dcea3 refactor(hermes): no need to Box futures 2024-04-10 09:22:43 +01:00
guibescos d627a49764
feat: add ending condition to proposer_server (#1430)
* Checkpoint

* Checkpoint

* Continue

* Revert

* Revert

* Revert

* Update proposer

* Clean

* Lint

* nit

* Refactor crank-executor

* Small refactor

* Go

* Go

* Move comment
2024-04-09 19:54:53 +01:00
guibescos 299dec1d79
fix: increase compute units (#1433) 2024-04-09 18:58:59 +01:00
Reisen 68a2ce1221 refactor(hermes): state->cache downcasting 2024-04-09 18:36:23 +01:00
guibescos 62d189e3b5
feat(solana_utils): support account lookup table (#1424)
* feat: support account lookup table

* remove console log

* Support ALT

* Commas

* feat: support lta

* Go

* Bump
2024-04-09 13:51:29 +01:00
guibescos bb830e1760
docs(solana_sdk): Improve docs (#1414)
* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* fix: pusher

* Checkpoint

* Works

* fix: pass pusher program id

* Add docs

* 0.1.0

* Bump npm package

* Go

* Comment

* Add customizable shard id

* Allow configurable priority fees

* Update readme

* Update text

* readme updates

* Readme

* More text

* More text

* Review

* Text

* readme

* add processed commitment

* fix comment

* whoops

* Set compute units to a more reasonable value

---------

Co-authored-by: Jayant Krishnamurthy <jayantkrishnamurthy@gmail.com>
2024-04-09 13:42:28 +01:00
guibescos 972a9a1e1d
perf: improve tx land rate (#1429)
* Checkpoint

* Checkpoint

* Continue

* Revert

* Revert

* Revert

* Update proposer

* Clean

* Lint
2024-04-09 11:24:45 +01:00
guibescos 0e885e3ca7
feature: export merkle price update (#1428)
* export MerklePriceUpdate

* CI

---------

Co-authored-by: Silviu Troscot <silviu.troscot10@gmail.com>
2024-04-08 19:44:02 +01:00
guibescos a632ee4bd2
fix(solana_pusher): forgot await (#1423)
* fix(solana_pusher): forgot await

* pr comments
2024-04-05 19:13:09 +01:00
guibescos 44cad44f44
feat(pusher): cleanup vaa accounts (#1422) 2024-04-05 16:45:02 +01:00
guibescos 8110e03ccb
Fix pusher dockerfile (#1420) 2024-04-05 12:24:08 +01:00
Ali Behjati 2398afefa7
chore(target_chains/cosmwasm): add rol_testnet network (#1419) 2024-04-04 19:05:39 +02:00
Dev Kalra 80b4dd96de
add support for priority fee (#1418) 2024-04-04 16:37:31 +05:30
guibescos ecf347909f
chore(solana): use instruction builders (#1415) 2024-04-04 11:11:31 +01:00
Jayant Krishnamurthy 5afb187f0d
whoops (#1416) 2024-04-04 10:09:50 +02:00
Dev Kalra 6295674efa
feat(fortuna-v2): implement a keeper service for entropy v2 (#1366)
* extract code to run api

* save

* some changes

* add exit checks

* retry for sub threads and fetch events

* handle events

* remove unused

* compiling

* add logs to keeper

* add simulation and some fixed

* refactoring keeper

* backlog refactoring works

* extract handle event

* extract watch blocks in a method

* handle events extracted

* remove res block from backlog method

* remove res block from watch_blocks

* remove res block from process events

* load private key from file

* add gas limit to blockchain config

* remove unused imports

* remove a log

* gas param u256

* spell simulate

* rename keeper private keeper file

* wait for only api to exit

* remove exit check from keeper

* remove is valid request method as simulate will cover things

* remove some parameters

* remove exit check from keeper

* use saturating sub

* correct condition

* update logging statement

* combine logs

* use nonce manager to send transaction

* poll instead of stream and add nonce middleware

* remove unused

* fix tests

* add ws support to streaming

* Refactor and improve error handling

* replace simulation with gas estimation

* add polling support for when no wss url

* version update

* test check

* update comment

* update key comment

* rename chain_config to chain_state

* update version

* pad gas estimate

* add comments

---------

Co-authored-by: Amin Moghaddam <amin@pyth.network>
2024-04-04 01:14:20 +05:30
guibescos 050b8275f7
feat(price_pusher): solana price pusher (#1408)
* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* fix: pusher

* Checkpoint

* Works

* fix: pass pusher program id

* Add docs

* 0.1.0

* Bump npm package

* Go

* Comment

* Add customizable shard id

* Allow configurable priority fees
2024-04-03 15:42:44 +01:00
Daniel Chew 450a483679
feat(xc-admin): add price feed council signers (#1413)
* add price feed council signers

* update signers.json

* update signers.json

* update signers.json
2024-04-03 15:48:10 +09:00
Aditya Arora c0c03945d0
Update price evm Oracle Example (#1411) 2024-04-02 14:42:46 -04:00
Aditya Arora c2fde0f6dc
chore-add-evm-linea-sepolia (#1410) 2024-04-02 10:51:34 -04:00
guibescos 866b6a5b4b
feat: pyth pull-based push oracle (#1370)
* feat: implement oracle instance

* Go

* Remove key

* Go

* Add instance id, fix conditional deser

* Go

* Rename

* Revert changes to cli

* Checkpoint

* Cleanup deps

* Refactor tests

* Cleanup deps

* Write test

* Fix comment

* Shard id

* ADd tests

* Extract common test utils

* Fix test

* Better name

* Cleanup

* Instance -> shard

* Update test

* Make shard id a u16
2024-04-01 14:43:47 +01:00
guibescos a888ba318c
chore: env variables for rpcs (#1407)
* chore: env variables for rpcs

* Remove console log
2024-03-29 17:51:56 +00:00
Aditya Arora 77db9ee53b
feat(target_chains/ethereum/sdk/solidity): add convertToUint method to the sdk (#1390)
* Moving convertToUint to utils

* pre-commit fix

* reversing OracleSwap example

* pre-commit]

* added test

* abi-gen

* Added solc to sdk

* resolved comments
2024-03-28 17:23:41 -04:00
guibescos 9328b73284
chore: publish xc-admin to ghcr (#1406)
* perf: use solana hash precompile

* chore: xc-admin push to ghcr

* Trigger CI

* Check

* Fix

* Fix boolean

* Fix env variable

* Go

* Push new worflow

* Cleanup

* Go:

* Add packages write
2024-03-28 18:24:52 +00:00
Pavel Strakhov cd543bcd6a refactor(target_chains/ethereum): remove duplicated tests 2024-03-28 14:50:01 +00:00
Pavel Strakhov f134c2d31c chore: bump pyth-sdk-solidity version to 3.0.0 2024-03-28 14:50:01 +00:00
Pavel Strakhov 7352256c63 refactor(target_chains/ethereum): remove price attestations from tests 2024-03-28 14:50:01 +00:00
Pavel Strakhov d23f6c0d11 refactor(target_chains/ethereum): rename tests and vars in GasBenchmark 2024-03-28 14:50:01 +00:00
Pavel Strakhov f4617b484a refactor(target_chains/ethereum): rename attestations to messages in PythTest 2024-03-28 14:50:01 +00:00
Pavel Strakhov 8843d0f875 refactor(target_chains/ethereum): clean up unused batch update code 2024-03-28 14:50:01 +00:00
Pavel Strakhov 06965d38cc refactor(target_chains/ethereum): move unused functions from Pyth to VerificationExperiments tests 2024-03-28 14:50:01 +00:00
Pavel Strakhov a2db288210 refactor(target_chains/ethereum): remove legacy batch updates support from parsePriceFeedUpdates and getUpdateFee 2024-03-28 14:50:01 +00:00
Pavel Strakhov 8a70ca769b refactor(target_chains/ethereum): remove legacy batch updates support from updatePriceFeeds 2024-03-28 14:50:01 +00:00
Pavel Strakhov 01f878cf5a refactor(target_chains/ethereum): remove truffle tests for batch updates 2024-03-28 14:50:01 +00:00
Jayant Krishnamurthy 0f7a9cc334
[contract_manager] Add logic for tracking fee denominations and dollar values (#1394)
* tokens

* progress

* progress

* progress

* infra for storing tokens and using them in fee calculations

* precommit

* cleanup

* cleanup

* fix
2024-03-28 06:26:04 -07:00
Dev Kalra 6fb5ab483d
fix(IEntropy): revealWithCallback comment (#1404)
* fix reveal comment

* update comment
2024-03-28 14:55:31 +05:30
Dev Kalra 02e196e924
feat(entropy_contracts): don't call an address if it is an Eoa in reveal callback (#1395)
* don't call an address if it is an Eoa

* fix comment

* update comment
2024-03-28 14:12:36 +05:30
guibescos 0e6484daca
perf: use solana hash precompile (#1400) 2024-03-27 15:39:43 +00:00
Reisen df585e440e refactor(hermes): watch channel to simplify shutdowns 2024-03-27 15:07:24 +00:00
Ali Behjati f18f1c8e7c
fix(target_chains/ethereum): update some configs to make js tests work (#1399) 2024-03-27 14:56:27 +01:00
Ali Behjati 86c6ed259d
chore(target_chains/ethereum): add new networks (#1397)
Add metadata for the following networks:
- Parallel testnet and mainnet
- Polynomial testnet
2024-03-27 14:26:05 +01:00
Ali Behjati 9416a8b586
chore(hermes): small improvements to add tests in CI and more (#1393)
* fix(hermes): fix a broken test

* refactor(hermes): add clippy to pre-commit

* feat(hermes): add ci for tests

* chore(hermes): remove legacy go footprint

* fix: add protoc action for ci

* chore: rebase on top of main

* fix: use right rust version for the Dockerfile

* fix: fix precommit ci
2024-03-27 13:55:26 +01:00
Reisen d66c00f84a
chore: update to latest nightly (#1398) 2024-03-27 12:27:24 +01:00
guibescos cf16fa3211
feat: add walletconnect (#1392) 2024-03-27 11:15:56 +00:00
Aditya Arora 6d3b5234f6
Added polygon_blackberry, optimism_celestia_raspberry,arbitrum_blueberry (#1391)
* Added 3 new chains

* pre-commit fix

* alphabetical
2024-03-26 16:36:46 -04:00
Dev Kalra d821e01109
feat(entropy-v2): add provider parameter to entropy callback (#1389)
* add provider parameter to entropy callback

* order

* abis regen

* update version
2024-03-26 18:00:06 +05:30