0xfirefist
995bacc633
correct name for test methods
2023-12-09 16:47:38 +05:30
0xfirefist
50807e8923
correct comment
2023-12-09 16:38:54 +05:30
0xfirefist
b4c4029aa3
re introduce transfer ownership
2023-12-09 16:35:15 +05:30
0xfirefist
f4e83a064f
fix tests
2023-12-09 08:20:52 +05:30
0xfirefist
b374d61a0c
naming and documentation update
2023-12-09 08:17:53 +05:30
0xfirefist
556378ec9e
safe owner transfer
2023-12-09 00:13:25 +05:30
Amin Moghaddam
8adac4344f
chore(eth) Add bttc ( #1172 )
...
* chore(eth) Add bttc
2023-12-08 22:56:16 +08:00
Ali Behjati
bbd3d1add3
chore(target_chains/eth): revert solidity version
...
This change reverts the solidity version to 0.8.4 as the current version
troubles the Pyth price feeds contract deployment. Some tests are
changed to use the methods available in the older version.
Also, the Pyth contract version is updated. This is because we made a
change to the Governance structs (to add Stacks) that results in a new
bytecode.
2023-12-06 17:42:42 +03:30
Jayant Krishnamurthy
c592fd36ca
[fortuna] Add confirmation delay before responding ( #1161 )
...
* Update abi
* fix tests
* update contract
* fix fortuna
* test confirmation delay
* cleanup
* fix
* split the fields
* saturating sub
* rename
2023-12-04 10:25:00 +01:00
Jayant Krishnamurthy
21a4ec8277
[entropy] Update readmes and docs ( #1163 )
...
* add some docs
* more doc edits
2023-12-03 09:14:46 -08:00
Jayant Krishnamurthy
0a2378e94c
[entropy] more executor tests ( #1162 )
2023-12-03 09:14:35 -08:00
Amin Moghaddam
8a98279fb2
chore(eth) deploy to mode ( #1159 )
2023-12-03 13:20:38 +03:30
Jayant Krishnamurthy
97bbc8cef9
add authorization for reveal method ( #1156 )
2023-11-30 13:28:00 -08:00
Jayant Krishnamurthy
99be611684
[stacks] Add constants for Stacks ( #1158 )
...
* add constants for stacks
* di
2023-11-30 11:57:15 -08:00
Dev Kalra
ae7610b0ab
[entropy] governance ( #1154 )
...
* governance
* correct comment
* add upgradability
* remove unused lib
* update governance and update logic
* change specifiers
* fix tests
* add tests
* rebase bug fixes
* change error name
* fix tests
* no need of UUPSProxy
* minimise the amount of code
* separate file for authorized tests
* add comment
* correct comment
2023-11-30 16:29:35 +05:30
Jayant Krishnamurthy
b2e4d56d36
[entropy] Entropy gas benchmarks and optimizations ( #1153 )
...
* add gas benchmark
* fix benchmark
* fix benchmark
* fix benchmark
* optimization 1: remove provider
* move to u128 for fees
* update benchmark
* comment
* reduce commitment storage
* optimize storage more
* fix fee fields in state
* hmm
* ok
* fix
* cleanup
* this got out of hand
* test overflow conditions
* fix bad merge
* doc
2023-11-29 14:37:42 -08:00
Jayant Krishnamurthy
a5646bf840
[entropy] Add a default provider ( #1150 )
...
* making a mess here
* add default provider
* cleanup
* test new abi
* add uri to fortuna
* pr comments
2023-11-27 18:40:36 -08:00
Jayant Krishnamurthy
b7a089b51e
[entropy] Change provider interface to simplify supporting many chains ( #1149 )
...
* grr
* cleanup
* fix semver
2023-11-27 07:39:54 -08:00
Jayant Krishnamurthy
da72b6e250
[entropy] First cut at EVM executor ( #1148 )
...
* executor
* executor tests
* basic test works
* cleanup
* cleanup
* fix ci
2023-11-27 06:45:43 -08:00
Ali Behjati
2c93737366
chore(eth): deploy stable contracts on testnets ( #1146 )
...
* chore(eth): deploy stable contracts on testnets
* chore(eth): address feedbacks
* Add op sepolia
---------
Co-authored-by: Amin Moghaddam <amin@pyth.network>
2023-11-24 11:59:04 +01:00
Amin Moghaddam
16832aba51
chore(eth): Add tomochain ( #1134 )
2023-11-07 10:28:52 +01:00
Jayant Krishnamurthy
fe7984d132
[entropy] Rename files ( #1127 )
...
* rename stuff
* fix
* fix
2023-10-31 08:50:15 -07:00
Jayant Krishnamurthy
ddbbe2af14
Entropy Solidity SDK & usage example ( #1124 )
...
* grr
* revert
* ok
* ok
* ok
* deploy script
* implement interface
* doc comments
* fix comment
2023-10-31 06:32:21 -07:00
Amin Moghaddam
8d99ac402c
chore(evm) Add more networks ( #1121 )
2023-10-23 11:41:07 +02:00
Jayant Krishnamurthy
4776bdcdf9
Fortuna CI workflows ( #1120 )
...
* CI and docker
* cleanup
* erc
* whoops
2023-10-20 10:49:41 -07:00
Ali Behjati
efcfae3ed7
chore(eth): deploy to chiliz mainnet
2023-10-20 17:42:47 +02:00
Ali Behjati
49d1a579c3
chore: cleanup repo
2023-10-18 18:32:42 +02:00
Amin Moghaddam
c0057809f5
chore(evm): deploy to new networks ( #1107 )
2023-10-18 17:20:44 +02:00
Jayant Krishnamurthy
727f9ec33d
Initial version of random numbers contract ( #1093 )
...
* initial merkle tree cut
* initial working test
* grrr
* add this deploy script
* contract stuff
* doc
* cleanup
* cleanup
* delete janky deploy script
* first commit of random2
* randomness
* format
* wtf
* wtf
* stuff
* cleanup
* minor
* add extra field
* pr comments
2023-10-17 13:07:47 -07:00
Amin Moghaddam
4bc11b863c
chore(evm): deploy to new networks ( #1104 )
...
zetachain testnet
2023-10-17 18:15:17 +02:00
Ali Behjati
ad277ec7f2
chore(evm): deploy to new networks
...
chiliz_spicy and scroll
2023-10-17 10:04:34 +02:00
Amin Moghaddam
6cebfef1df
[evm] Evm runs ( #1099 )
...
* Show chain id when checking proposals
* Reduce number of optimizations to 200 in order to defeat the Spurious Dragon
2023-10-13 15:45:35 +02:00
Amin Moghaddam
eb9526675c
[evm] parsePriceFeed with uniqueness validation ( #1089 )
...
* Implement uniqueness
* Add tests and update abi
* Fix MockPyth for the unique version
* Bump version
* Add gas benchmark functions
2023-10-13 14:15:42 +02:00
Amin Moghaddam
f5698bf509
Add optimism sepolia
2023-10-11 21:12:11 +02:00
Amin Moghaddam
0e67978aea
Add manta ( #1085 )
2023-10-11 11:05:05 +02:00
Amin Moghaddam
f224486ae2
Aptos improvements ( #1079 )
...
* More documentation on the upgrade procedure and mainnet init
* Add profiling utility for aptos
* Reuse contract manager logic to sync guardian sets
* Add documentation for sui gas profiling
2023-10-10 12:03:01 +02:00
Amin Moghaddam
17f489e629
Add boba deployment files
2023-10-09 11:04:42 +02:00
Jayant Krishnamurthy
2858d56f47
Update docs
...
these instructions are old
2023-09-27 06:08:00 -07:00
Amin Moghaddam
f2ca88176a
Add shimmer mainnet ( #1053 )
2023-09-15 18:23:12 +02:00
Amin Moghaddam
79ea43553f
Add sepolia testnet ( #1051 )
2023-09-13 15:53:18 +02:00
Ali Behjati
a34f759061
chore(eth): deploy to horizen eon/gobi
2023-09-12 15:10:09 +02:00
Ali Behjati
e1ae1ad1c4
fix(eth): update legacy updateFee method pricing
2023-08-31 11:51:27 +02:00
Mohammad Amin Khashkhashi Moghaddam
78ca49dcc3
[evm] [cosmwasm] Minor cleanup ( #1027 )
...
* Remove old cosmwasm address documentation
* Remove old evm migration folder and keep prod-receiver
2023-08-24 11:41:59 +02:00
Mohammad Amin Khashkhashi Moghaddam
b9dbd54d5a
[contract-manager] General improvements ( #1024 )
...
* Better return types for transaction execution functions
* Use new type for passing PrivateKey
* Small typing improvements
* Stricter liniting
* Rename edge to beta for DeploymentType
* Reduce any usage across the contract manager
* Fix explicit any linting warnings
2023-08-23 16:29:43 +02:00
Ali Behjati
ec63330cf0
chore: add coverage/ to gitignore
2023-08-09 20:58:54 +03:30
Ali Behjati
439a0f0337
fix: make coverage work on newer versions
2023-08-09 20:58:54 +03:30
Jeff Schroeder
4e8c30b072
chore(ethereum): add html coverage bits
...
Add an npm helper to output the html coverage files via:
npm run coverage
This requires lcov and genhtml to be installed.
2023-08-09 20:58:54 +03:30
Mohammad Amin Khashkhashi Moghaddam
e422fb9321
[evm] Wormhole receiver deploy all ( #1009 )
...
* Add verification logic for evm set wormhole address instruction
* Minor improvements and cleanup on contract manager evm
* Batch deploy script
* Better docs on verification
* Fix zkSync deployment script and update documentation
2023-08-09 18:22:47 +02:00
Ali Behjati
f1eeb94210
chore(eth): add scroll sepolia
2023-08-08 10:21:05 +03:30
Mohammad Amin Khashkhashi Moghaddam
272f3c1984
[contract-manager] Contract manager improvements ( #1000 )
...
* Use arrays instead of separate files per config
* Remove redundant endpoint on cosmwasm
* Add functions for upgrading the wormhole guardian sets
* Add wormhole contract management on evm and cosmwasm
* Add getter functions to check what sort of wormhole-deployment is used
* Reorganize contract manager package to be used via other packages
* Remove .env files per network and create a script that outputs the same file
* Use env variables in truffle config and output config in deployments
* Add executeUpdatePriceFeed to contract interface
* Add update pricefeed script
* Add saving functionality to store
* Save new contract configs automatically on Evm
* Make deploy script use the create-env.js internally
* Add utility function to get implementation address for Evm Proxy contracts
* Add shimmer testnet and replace evmos nunfunctional rpc
* New procedure for contract verification
* Update docs and remove duplicate configurations
* Remove shimmer configs
* Read default data source configs via contract manager
* Remove flattened contract before compiling/deploying
2023-08-07 14:13:29 +02:00