Commit Graph

204 Commits

Author SHA1 Message Date
Ali Behjati ef922220ee
chore(contract_manager): Rename package to @pythnetwork/contract-manager (#1507)
This change renames the contract manager package name to @pythnetwork/contract-manager to be consistent with our package names.
2024-04-29 15:25:05 +02:00
Aditya Arora 93a71f2eef
pre-commit (#1510) 2024-04-25 09:15:51 +02:00
Dev Kalra d31cefb446
feat(contract_manager): separate store for wormhole (#1493)
* rename wormhole contract as per other names

* store for wormhole

* fix var name

* rename var

* rename contract based on other namings

* add yaml for aptos and cosmwasm
2024-04-24 16:32:16 +05:30
Aditya Arora d51e5712f4
redepoloyed (#1477) 2024-04-23 11:15:07 -04:00
Aditya Arora 899a995e2e
sei_devnet_redeploy (#1474) 2024-04-19 10:38:30 -04:00
Dev Kalra 02ad78bcf1
Update coinflip contracts to use entropy v2 (#1461)
* update coinflip contracts to use entropy v2

* correct formatting
2024-04-17 19:27:33 +05:30
Aditya Arora c12a58e0e4
Bugfix: price-service: Add bn.js dependency (#1458)
* price-service-added-bn.js

* requested changes
2024-04-17 09:30:34 -04:00
Ali Behjati 729b18e596
chore(target_chains/ethereum): add morph testnet network (#1445) 2024-04-12 10:09:21 +02:00
Ali Behjati e1f9783062
chore(target_chains/ethereum): add Blast and Mode gas claim patches (#1440)
This change adds the change in our implementation that allowed support
for enabling gas claims on Blast and Mode as a reference.
2024-04-10 19:32:11 +02: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
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
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
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
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
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
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
Aditya Arora 4534741d6e
chore(target_chains/ethereum): add manta_sepolia (#1359)
* chore(target_chains/ethereum): add manta_sepolia

* bumped up sdk version
2024-03-14 15:28:18 -04:00
enjoyooor eec10a721b
chore: fix nits (#1350) 2024-03-12 15:21:03 +00:00
Dev Kalra e7bf47a18e
feat(entropy-v2): request with callback (#1342)
* request with callback

* address comments

* pre-commit

* compilation successful

* pre-commit

* add tests

* generate-abis

* pre-commit

* correct version

* address comments

* pre-commit

* remove unused

* add comments

* pre-commit

* gen abi

* naming consistency

* remove gas limit comment

* requestWithCallback comment

* remove unnecessary asserts

* pre commit

* update request with callback coment

* abis regen

* refactor as per feedback

* abi gen

* rename

* implement ientropyconsumer

* gen abi

* comment entropy consumer

* test fix

* add comment

* reintroduce blockhash

* add error for invalid reveal call

* use getEntropy in entropy consumer

* add test for requestAndRevealWithCallback

* pass through for entropy consumer

* pre commit fix

* abi gen

* address comments

* address feedback

* gen abis

* pre commit run
2024-03-12 01:58:57 +05:30
omahs fc916c6496
fix: typos (#1347)
* fix typo

* fix typos

* fix typo

* fix typos
2024-03-11 15:50:28 +00:00
Ali Behjati 182db58f83
chore(target_chains/ethereum): add new networks (#1343)
Add Mantle Sepolia, Merlin (testnet and mainnet), and Sei EVM devnet.
2024-03-07 20:59:55 +01:00
Ali Behjati 316816683e
chore(target_chains/ethereum): add Astar zkEVM mainnet network (#1336) 2024-03-01 11:40:33 +01:00
Amin Moghaddam 9e7b6d94ff
feat(per): Per solidity sdk (#1325)
* feat(per): add solidity sdk

* refactor(evm): refactor abi generator script

* feat(evm): add abi_generator package
2024-02-29 08:10:50 +01:00
Dev Kalra 38350421f6
chore(contract_manager): deploy price feed and entropy to blast (#1324)
* deploy blast price feeds

* deploy entropy on blast

* pre commit

* remove api key

* feedback
2024-02-28 19:36:23 +05:30
Jayant Krishnamurthy bec2ddfc5d
fix(entropy): Fix doc formatting (#1314) 2024-02-23 08:02:25 +01:00
Amin Moghaddam 289c6ff177
chore(evm): remove base goerli as the network is halted (#1313) 2024-02-21 16:31:16 +01:00
Jayant Krishnamurthy 00e2a024aa
[entropy] Remove warning in SDK docs (#1309) 2024-02-21 06:49:03 -08:00
Amin Moghaddam a4b9cb7471
chore(evm): new deployments (#1312) 2024-02-21 14:05:29 +01:00
Ali Behjati cc7b57145b
chore(xc_admin/frontend): set pythnet max publishers to 64 (#1305)
* chore(xc_admin/frontend): set pythnet max publishers to 64

* chore: fix ci
2024-02-21 13:46:06 +01:00
Amin Moghaddam cfe8d0f777 fix(entropy): Update fortuna domain 2024-02-21 10:39:40 +01:00
Ali Behjati 99f6dd99fc
chore(ethereum): add new networks (#1288)
This change adds the configuration of the following new networks:
- Hedera new testnet and mainnet
- Injective inEVM tesntet and mainnet
- IDEX xChain testnet

It also updates the ethereum sdk README to outline Hedera special
behaviour around update fees.
2024-02-09 12:43:01 +01:00
Jayant Krishnamurthy f172adb389
[doc] Provide installation directions for Foundry (#1274)
By default, foundry expects every library to be a git project. This approach does not work well with SDKs in monorepos (like ours). However, you can also install the dependencies using NPM and then use remappings.txt to point to the SDK. This is a little janky, but it seems to be the recommended approach for this case 🤷

see issue here foundry-rs/foundry#1847
2024-02-01 09:52:31 -08:00
Ali Behjati f01d17e8ad
chore(ethereum): deploy to new networks (#1270)
also update the ethereum sdk js to include the newly deployed contracts
2024-02-01 12:38:05 +01:00
Dev Kalra 11c1fa7101
[executor/contract] add get methods and tests (#1260)
* add methods and tests

* add sequence check
2024-01-30 17:27:35 +05:30
Ali Behjati 9c6bdfdcf9
feat(contract_manager): script for EVM feeds contract deployment (#1254)
* feat(contract_manager): script for EVM feeds contract deployment

This change adds a script to replace truffle deployment scripts. This
gives us more control and flexibility over the deployment process.

* chore: address comments

---------

Co-authored-by: Dev Kalra <kalradev@outlook.com>
2024-01-30 12:11:19 +01:00
Amin Moghaddam 16b60d426e
Add entropy error signatures for easier access and debugging (#1259)
* Add entropy error signatures for easier access and debugging

* Add signatures for ExecutorErrors
2024-01-30 11:32:48 +01:00
Dev Kalra 82cd11cc77
[Executor] minor fix (#1246) 2024-01-25 17:41:39 +05:30