Commit Graph

241 Commits

Author SHA1 Message Date
Aditya Arora 93a71f2eef
pre-commit (#1510) 2024-04-25 09:15:51 +02:00
Keyvan Khademi b110bbca5c
feat(xc-admin-frontend): instructions summary in proposal page + improve ui in proposal row + refactor the code (#1478)
* refactor: move proposals to a folder

* refactor: use @images instead of relative paths

* refactor: split proposals into multiple files

* refactor: add type for proposal status

* refactor: add eslint and fix errors

* refactor: fix eslint errors

* refactor: fix eslint

* refactor: fix prettier

* refactor: remove any

* refactor: Proposals.tsx

* feat: add basic instructions summary

* feat: add unknown instruction

* fix: revert package-lock.json

* fix: update package-lock.json

* fix: pre-commit

* fix: ts error

* fix: remove message buffer dependency

* fix: revert back the cluster default

* feat: add support for different types of instructions

* feat: add transaction index to proposal row

* feat: improve the proposal row ui

* fix: display bigint properly (#1499)

---------

Co-authored-by: guibescos <59208140+guibescos@users.noreply.github.com>
2024-04-23 13:24:44 -07:00
Aditya Arora d51e5712f4
redepoloyed (#1477) 2024-04-23 11:15:07 -04:00
Dev Kalra e46821d423
feat(xc_admin_frontend): parse entropy and executor abis (#1481)
* parse entropy and executor abis

* correct import

* move parse to xc admin frontend

* undo change

* fix deps

* add comment

* comment

* revert changes and then some minor change

* fix unknown by typecast
2024-04-23 00:15:36 +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
guibescos 8fba519ce3
Skip (#1451) 2024-04-12 21:23:01 +01:00
Ali Behjati 729b18e596
chore(target_chains/ethereum): add morph testnet network (#1445) 2024-04-12 10:09:21 +02: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
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
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
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 c2fde0f6dc
chore-add-evm-linea-sepolia (#1410) 2024-04-02 10:51:34 -04: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
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
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
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
Ali Behjati d03f25bfbf
fix(governance/xc_admin): add complete dependencies to the dockerfile (#1369)
Apparently xc-admin now also needs price service SDK because the
Solana receiver depends on it.
2024-03-18 20:22:30 +01:00
Ali Behjati 62b4b5a729
fix(governance/xc_admin): fix Dockerfiles (#1368)
xc-admin now depends on Solana receiver's SDK and the Dockerfiles should
include it in their build.
2024-03-18 20:13:29 +01:00
Ali Behjati ab7560ad35
feat(governance/xc_admin): add initial support for solana receiver (#1365)
* feat(governance/xc_admin): add initial support for solana receiver

This change adds Solana Receiver IDL to xc-admin to support parsing
them in the xc-admin Frontend. Also adds two CLI commands to request
and accept governance authority transfer.

* chore: address comments

* chore: bump version
2024-03-18 20:00:43 +01:00
guibescos 8b1c29e81a
feat: transaction builder (#1356)
* Do it

* Remove some duplicate code

* Cleanup

* Cleanup

* Cleanup import

* Correct description

* Fix path

* Cleanup deps

* Unique

* Works

* Continue

* Lint

* Lint config

* Fix ci

* Checkpoint

* Checkpoint

* Gitignore

* Cleanup

* Cleanup

* Continue building the sdk

* build function

* Remove files

* Remove files

* Rename

* Refactor : make transaction builder

* Make commitment

* Move

* Progress

* Checkpoint

* Ephemeral signers 2

* Checkpoint

* Checkpoint

* Fix bug

* Cleanup idls

* Compute units

* Make program addresses configurable

* Handle arrays

* Handle arrays

* Move PythSolanaReceiver

* Cleanup constants

* Contants

* Refactor constants

* Gitignore refactor

* package lock

* Cleanup idl

* Add useful static

* Add useful static

* Add useful static

* Lint

* Add lint config

* Docs

* Comments

* Docs

* Don't touch this

* Readme

* Readme

* Cleanup

* Readme

* Fix

* address readme comments

* from pyth, not pythnet

* Add a couple more comments

* Rename cleanup to close

* Go go go

* Gogogo

* Go

* Fix readme

* Improve readme

* Nit

* Nits

* Refactor withClose

* Update comments

* Cleanup

* First rename

* Rename 2

* Improve error message
2024-03-15 12:11:22 +00:00
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
guibescos 7b01f2a1f9
feat(xc_admin_frontend): add priority fees to approval/rejection (#1353)
* Make room for compute ixs

* Continue

* Fix syntax

* Checkpoint

* Cleanup

* Cleanup

* Go
2024-03-12 14:53:29 +00:00
Daniel Chew 23620cb217
fix footer placement (#1351) 2024-03-12 15:57:27 +09:00
Daniel Chew 51667f7af3
feat(xc-admin): add council address mapping (#1348)
* add council address mapping

* change filepath

* revert filepath

* add logs

* test

* fix

* hardcode path if env var not available

* remove logs

* update mapping
2024-03-12 12:37:17 +09: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
Daniel Chew a27eb9a026
feat(xc-admin): add priority fees support to xc-admin (#1344)
* refactor

* add priority fees to proposal creation

* style fix
2024-03-11 17:14:16 +09: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
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 be902e1248
fix: add solana-utils package to xc-admin frontend dockerfile (#1339) 2024-03-01 13:41:10 +01:00
Ali Behjati 8c0a79ccf1
fix(governance/xc_admin): Add solana_utils to xc-admin Dockerfile (#1337) 2024-03-01 12:54:30 +01:00
Ali Behjati 316816683e
chore(target_chains/ethereum): add Astar zkEVM mainnet network (#1336) 2024-03-01 11:40:33 +01:00
guibescos e986b69c9a
feat(solana): js sdk (#1307)
* Do it

* Remove some duplicate code

* Cleanup

* Cleanup

* Cleanup import

* Correct description

* Fix path

* Cleanup deps

* Unique

* Works

* Continue

* Lint

* Lint config

* Fix ci

* Checkpoint

* Checkpoint

* Gitignore

* Cleanup

* Cleanup

* Continue building the sdk

* build function

* Remove files

* Remove files

* Rename

* Refactor : make transaction builder

* Make commitment

* Move

* Progress

* Checkpoint

* Ephemeral signers 2

* Checkpoint

* Checkpoint

* Fix bug

* Cleanup idls

* Compute units

* Make program addresses configurable

* Handle arrays

* Handle arrays

* Move PythSolanaReceiver

* Cleanup constants

* Contants

* Refactor constants

* Gitignore refactor

* package lock

* Cleanup idl

* Add useful static

* Add useful static

* Add useful static

* Lint

* Add lint config
2024-02-28 20:45:48 +00: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 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
guibescos 6a32844886
Go again (#1290) 2024-02-09 19:10:51 +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
guibescos 1d0d27ab3d
Revert pythnet (#1271) 2024-02-02 14:43:15 +00:00
guibescos 604e30ff75
Remove proposer squad (#1273) 2024-02-01 18:56:24 +00:00
Ali Behjati f5b78e5a8c
chore: remove attester and price service (#1272) 2024-02-01 15:53:07 +00: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 6870209f45
[xc_admin] print hex instead of number (#1256)
* print hex instead of number

* rename copypubkey

* add spaces
2024-01-29 22:29:30 +05:30
Dev Kalra f7624d666f
[xc_admin_frontend] parse evm execute (#1253)
* parse evm execute

* add copy
2024-01-29 21:55:19 +05:30
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
Dev Kalra 7db31aa7b5
[governance] add chain ids (#1241)
* add chain ids

* pre commit fix
2024-01-24 17:38:39 +05:30
guibescos 4abbbd1a46
Add rpc url override (#1234) 2024-01-23 12:05:10 +00:00