Commit Graph

1773 Commits

Author SHA1 Message Date
Tom Pointon ba7c2cd92b Add documentation for deploying prod contracts 2022-03-25 09:53:57 +00:00
Tom Pointon d33dc2089f Add BSC Testnet deployment configuration 2022-03-25 09:53:29 +00:00
Tom Pointon f3a4fb4360 Add prod deployment migrations 2022-03-25 09:52:45 +00:00
Tom Pointon c7de353ca7 Fixup migrations contract ownable 2022-03-25 09:51:54 +00:00
Tom Pointon f9b55ee633 Make truffle migrations directory configurable 2022-03-25 09:51:37 +00:00
Tom Pointon 8a6121b455 Make Migrations contract Ownable 2022-03-25 09:47:46 +00:00
Tom Pointon d8b927d6ce Remove unused Pyth Chain ID metadata 2022-03-24 17:33:43 +00:00
Stanisław Drozd 889d4f12c6
Merge pull request #114 from pyth-network/tompntn-evm-api
Re-work EVM proxy setup and make API follow target chain guidelines
2022-03-24 17:11:18 +01:00
Tom Pointon be15230d9f Trigger Build 2022-03-24 16:08:03 +00:00
Tom Pointon bd88ce308d Update comment on time check 2022-03-24 15:52:44 +00:00
Tom Pointon 7bbbf56fdd Rename attestPriceBatch to updatePriceBatchFromVm 2022-03-24 15:43:16 +00:00
Tom Pointon 508013089b Add build folder to dockerignore 2022-03-24 15:41:07 +00:00
Tom Pointon 9abeaa875b Rename PythProxy to PythUpgradable 2022-03-24 12:03:03 +00:00
Ali Behjati 2c37465618
Add health probe (#107) 2022-03-24 11:32:56 +01:00
Tom Pointon 7797b6492d Clarify test comments 2022-03-23 17:01:22 +00:00
Tom Pointon 562cf73efe Replace PythGetters.latestPriceInfo with Pyth.queryPriceFeed in public API 2022-03-23 16:19:25 +00:00
Tom Pointon e3f1a85dbb Rename Price to PriceFeed to be consistent with SDK 2022-03-23 16:19:25 +00:00
Tom Pointon 04c43dedd5 Fix struct field names 2022-03-23 16:19:25 +00:00
Tom Pointon 02fcec996a Make Pyth.verifyPythVM function internal 2022-03-23 16:19:25 +00:00
Tom Pointon 4a6ff5d2f3 Inline PythStorage.Provider struct 2022-03-23 16:19:25 +00:00
Tom Pointon 7623e73d6a Add tests for new proxy setup 2022-03-23 16:19:25 +00:00
Tom Pointon 7ac83542a5 Update migrate script to work with new proxy setup 2022-03-23 16:19:25 +00:00
Tom Pointon 96fcc82a27 Update tests to work with new proxy setup 2022-03-23 16:19:25 +00:00
Tom Pointon 829727c4b4 Add upgradable PythProxy contract 2022-03-23 16:19:25 +00:00
Tom Pointon d92208a33d Add initializer to Pyth contract 2022-03-23 16:19:25 +00:00
Tom Pointon 405afb89e1 Add and update openzeppelin packages 2022-03-23 16:18:42 +00:00
Ali Behjati 33251bf144
Removes directores which are not related to p2w (#111)
Removes
- audits
- dashboards (dashboard is removed from Tilt)
- event_database (all of it's dependencies are removed from Tilt and it's not for p2w)
- lp_ui: a project (pressumably liquidity pool) not related to p2w
- sdk: wormhole sdk, p2w depends on it's npm package and there is no dependency to rust one
- spydk: it's not anywhere in p2w
- staging/algorand: these are for alrogrand which is not used in p2w
- whitepapers: these are for wormhole
2022-03-23 16:48:11 +01:00
Ali Behjati 637d529918
Add fee estimate for terra relay (#112) 2022-03-23 15:29:32 +01:00
Ali Behjati e4959768f4
Remove unused solana contracts and their wasm creations (#110)
Removes token bridge, nft bridge, migration. Also removes them from deployments and docs.
2022-03-23 13:29:21 +01:00
Ali Behjati a79a86ef3c
Remove unused terra contracts (#109)
- Note: Terra contract addresses are changed by this PR due to deterministic ordering.
- Removed unused nft and token bridge, and migration contracts in Terra
- Modified documentation to remove info regarding removed contracts.(docs/devnet.md)
2022-03-23 13:14:17 +01:00
Ali Behjati 80f90d66fa
Remove unused components from wormhole (#108)
* Remove unused components from wormhole

Removes the following:
- explorer
- e2e
- bridge_ui
- algorand stuff (teal dockerfile and third_party/algorand)
- ci_tests (testing directory)  which are for JS/Bridge UI
2022-03-23 13:02:58 +01:00
Stanisław Drozd 9f36719d3b
Merge pull request #105 from pyth-network/drozdziak1/p2w-relay-evm
Drozdziak1/p2w relay evm
2022-03-23 12:29:01 +01:00
Stan Drozd a27c71126f p2w-terra-relay: Admit loss against mkdir -p
commit-id:3abdb58d
2022-03-23 11:50:21 +01:00
Stan Drozd 9c533d583b Merge remote-tracking branch 'origin/dev.v2' into drozdziak1/p2w-relay-evm
commit-id:d5b1a04d
2022-03-23 11:25:27 +01:00
Stan Drozd 3eeda53356 Dockerfile.pyth_relay: Fix lockfile issue in ethereum
This commit fixes a lockfile issue resulting from newer NPM in our
container.

Specifically, our Dockerfile is pinned, relaxes Ethereum's
lockfile (npm ci -> npm install) and hardens our lockfile (npm install
-> npm ci)

commit-id:3381c8ec
2022-03-23 11:22:45 +01:00
Ali Behjati f07a223977
Remove dependency to wormhole sdk as path and cleanup wrong eth copies (#104) 2022-03-23 10:00:09 +01:00
Tom Pointon df907fd10f Remove old mock bridge implementation 2022-03-22 17:55:35 +00:00
Tom Pointon 3f329435ef Remove now unnused initialized implementations map 2022-03-22 17:42:39 +00:00
Tom Pointon 908674ab42 Remove old PythProxy inheritance hierarchy 2022-03-22 17:42:39 +00:00
Stan Drozd 5ec8cff437 p2w-terra-relay: EVM boilerplate
commit-id:8ad73ded
2022-03-22 17:58:06 +01:00
Stanisław Drozd a3c1a66bf3
Merge pull request #98 from pyth-network/drozdziak1/p2w-relay-iface-integrate-terra
Drozdziak1/p2w relay iface integrate terra
2022-03-22 17:19:21 +01:00
Stan Drozd c7008e1b46 Run formatter to trigger CI
commit-id:7c643d79
2022-03-22 15:39:09 +01:00
Tom Pointon 1c8adc6f64
Merge pull request #96 from pyth-network/tompntn-evm-remove-wormhole-governance
Remove wormhole-based governance from EVM contract
2022-03-22 10:25:53 +00:00
Stan Drozd 08358da4df p2w-terra-relay: apply review nits
commit-id:5034b061
2022-03-22 11:05:55 +01:00
Stan Drozd 53a73c5b67 Merge remote-tracking branch 'origin/dev.v2' into drozdziak1/p2w-relay-iface-integrate-terra
commit-id:0749da54
2022-03-22 10:19:35 +01:00
Stan Drozd 0ad479bcbb p2w-terra-relay: run formatter
commit-id:df311e23
2022-03-22 10:17:38 +01:00
Tom Pointon d5d4778a17 Remove Pyth Implementation implementation 2022-03-21 21:49:25 +00:00
Tom Pointon d3a173a3c6 Remove now unused legacy governance state and variables 2022-03-21 21:49:25 +00:00
Tom Pointon 25af2a90a8 Remove wormhole-based governance 2022-03-21 21:49:25 +00:00
Ali Behjati e601fdcfc9
Update worket to handle timeout in callback correctly (#97) 2022-03-21 18:36:08 +01:00