Commit Graph

111 Commits

Author SHA1 Message Date
Ali Behjati a203808a44
refactor(cosmwasm/tools): update cosmjs dependencies (#1514)
* refactor(cosmwasm/tools): update cosmjs dependencies

We needed to update cosmjs dependencies to support Xion, which is based
on a new CometBFT-based variation of tendermint. This change also
includes the artifacts for the Xion testnet network.

* fix: pin a dependency to get nextjs to work

* fix: address review comments
2024-04-29 19:34:57 +02:00
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
Dev Kalra b47ee059d7
feat(contract-manager): implement a script to get the entropy current registration (#1512)
* write a script to get the current registration

* simplify

* correct description

* catch only rpc errors

* refactor and simplify
2024-04-25 21:00:39 +05:30
Aditya Arora 93a71f2eef
pre-commit (#1510) 2024-04-25 09:15:51 +02:00
Dev Kalra 9437d51843
feat(contract_manager): add keeper balance to list entry (#1506)
* add keeper balance to list entry

* don't fix it as not sure
2024-04-24 16:37:14 +05:30
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
Dev Kalra d05df508a8
deploy entropy on sei (#1500) 2024-04-23 20:58:06 +05:30
Aditya Arora d51e5712f4
redepoloyed (#1477) 2024-04-23 11:15:07 -04:00
Dev Kalra 4b8b9bfd87
feat(contract_manager): latency script for entropy v2 (#1494)
* latency script for entropy v2

* add block number difference

* correct desc

* refactor request randomness

* refactor and use chain as arg instead of contract

* unnecessary condition

* js doc

* correct desc

* use blockhash
2024-04-23 18:59:52 +05:30
Aditya Arora 899a995e2e
sei_devnet_redeploy (#1474) 2024-04-19 10:38:30 -04:00
Ali Behjati 481a428e88
chore(contract_manager): add scripts and changes to upgrade wh guardi… (#1468)
* chore(contract_manager): add scripts and changes to upgrade wh guardian set

This change adds `sync_wormhole_guardian_set.ts` script to update all of
our evm and cosmwasm contracts and has a couple of fixes in different
places to make sure everything works fine.

* fix: address review comments
2024-04-19 10:52:12 +02:00
Ali Behjati 729b18e596
chore(target_chains/ethereum): add morph testnet network (#1445) 2024-04-12 10:09:21 +02:00
Amin Moghaddam ce36d80ae4
fix(contract_manager): use public rpc for blast testnet (#1441) 2024-04-11 13:06:52 +02:00
Dev Kalra 34d94e3177
feat(contract_manager): implement upgrade evm entropy contracts script (#1417)
* implement upgrade evm entropy contracts script

* check proposal for entropy contract upgrades

* refactor scripts

* minor changes in check proposal

* fix comments

* correct comment

* log something and continue

* log only if the owner and executor address doesn't match

* use web3 for abi encoding

* remove unused

* extract code digest code

* feedback implement
2024-04-11 15:11:55 +05:30
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
Jayant Krishnamurthy 5afb187f0d
whoops (#1416) 2024-04-04 10:09:50 +02:00
Aditya Arora c2fde0f6dc
chore-add-evm-linea-sepolia (#1410) 2024-04-02 10:51:34 -04: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
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
Amin Moghaddam 6adfdb1beb
feat(contract_manager): latency script for entropy (#1367)
* feat(contract_manager): latency script for entropy
2024-03-19 09:50:02 +01:00
Dev Kalra ac37b950ae
deploy entropy on base (#1371) 2024-03-19 14:13:29 +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
Ali Behjati 04b66fa208
chore(contract_manager): change Blast network rpc (#1354) 2024-03-12 16:52:46 +00:00
guibescos 926aa55f75
fix: Make room for compute ixs (#1349)
* Make room for compute ixs

* Continue

* Fix syntax

* Fix contract manager

* Go

* Refacotr import
2024-03-11 18:58:11 +00:00
Amin Moghaddam ce614fa077
fix(contract_manager): Update some rpc urls + better error description (#1346)
* Better error message

* Replace faulty rpcs on cosmwasm
2024-03-11 10:47:19 +01:00
Dev Kalra a63cf91cd1
zetachain deployments (#1345) 2024-03-08 18:45:53 +05:30
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
Daniel Chew 2bfbfed6ab
feat(xc-admin): add support for setMaxLatency instruction (#1328)
* Remove Substack link from SocialLinks component

* Update copyright year in Footer component

* fix useEffect dep

* add support for maxLatency

* update wallet interface

* fix

* fix

* revert import format

* fix

* fix

* fix

* fix

* update anchor to 0.29.0

* remove unneeded casts
2024-03-04 16:12:36 +09:00
Ali Behjati 736a20208b
chore(target_chains/sui): update sui js packages (#1340)
* chore(target_chains/sui): update sui js packages

* chore: bump version

---------

Co-authored-by: Amin Moghaddam <amin@pyth.network>
2024-03-01 17:05:52 +01:00
Ali Behjati 316816683e
chore(target_chains/ethereum): add Astar zkEVM mainnet network (#1336) 2024-03-01 11:40:33 +01:00
Ali Behjati c65cda000a
chore(contract_manager): fix Blast API env var (#1326) 2024-02-29 08:43:06 +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
Amin Moghaddam 0d49986eb1
refactor(contract_manager): reduce duplicate code (#1311)
* feat(contract_manager): Add check for wormhole address on entropy deployment

* feat(contract_manager): Add getter for wormhole in entropy contract

* feat(contract_manager): topup entropy provider if necessary

* feat(contract_manager): find out wormhole address automatically for entropy

* feat(contract_manager): parse uri

* feat(contract_manager): Add list script for entropy contracts
2024-02-23 13:23:54 +01:00
Dev Kalra 552f8c8aeb
add coredao testnet and mode entropy contracts (#1318) 2024-02-22 19:00:27 +05:30
Amin Moghaddam c9a578b773
chore(entropy) add new network (#1315) 2024-02-21 21:59:45 +05:30
Amin Moghaddam 289c6ff177
chore(evm): remove base goerli as the network is halted (#1313) 2024-02-21 16:31:16 +01:00
Amin Moghaddam a4b9cb7471
chore(evm): new deployments (#1312) 2024-02-21 14:05:29 +01:00
Dev Kalra 9f67ee8abf
[contract_manager] provider address and mainnet deployments (#1289)
* provider address and lightlink deployment

* deployments

* addresses with correct provider

* pre commit
2024-02-09 23:09:26 +05:30
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
Dev Kalra ca852ea989
[contract_manager] entropy deployment script (#1280)
* entropy deployment

* entropy deployment script

* remove unused

* refactored

* requested changes

* correct comment
2024-02-08 00:36:46 +05:30
Dev Kalra c330e40277
[contract_manager] support for executor (#1268)
* [contract_manager] support for executor

* refactor

* clean up

* fix ci

* rename method
2024-02-06 17:44:41 +05:30
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 4edef3a4ed
[contract_manager] upgrade evm executor contracts (#1264) 2024-01-31 18:58:52 +05:30
Dev Kalra 2952eb0dc2
add sei to evm entropy file (#1261) 2024-01-30 20:00:07 +05:30
Dev Kalra 343c784dd1
[EVM Price feed] deployments - lightlink, sei, fantom (#1245) 2024-01-30 17:15:30 +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
Dev Kalra f3ad917c6b
[contract_manager] Support for entropy and evm executor (#1251)
* Add EvmExecute structures for governance

* Add ExecuteAction file

* uint 256 (#1250)

* Add in value field in ExecuteAction

* Add value arg in contract manager

* add tests for evm execute (#1252)

* add tests for evm execute

* add tests for buffer layout

* remove unneccessary test

* accept admin and ownership payload

* rename to add entropy

* update comment

* address comments

* minor rename

---------

Co-authored-by: Amin Moghaddam <amin@pyth.network>
2024-01-29 17:40:53 +05:30
Amin Moghaddam 17ea0c19e0
Fix store saving/loading procedure (#1244)
yaml file names were based on contract types but they were using the old format
entropy contracts were not serialized
2024-01-25 15:04:20 +05:30