Commit Graph

1814 Commits

Author SHA1 Message Date
Stan Drozd c961410b5d Merge remote-tracking branch 'origin/dev.v2' into drozdziak1/p2w-evm-relay
commit-id:5f393900
2022-03-24 14:48:01 +01:00
Stan Drozd fb5d97d835 p2w-evm-relay: Backport the proxy address change from debug session
commit-id:55b63ed5
2022-03-24 14:21:11 +01: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
Stan Drozd 4776ff30c7 p2w-terra-relay: Add a query() EVM call and Tilt boilerplate
commit-id:f97d0c16
2022-03-23 17:52:18 +01: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
Stan Drozd c502ed3684 terra.ts: add missing return statement
commit-id:ba0365e6
2022-03-21 14:37:05 +01:00
Stan Drozd 1be4c84bad p2w-terra-relay: make worker.ts generic w.r.t. Relay interface
commit-id:5937a08c
2022-03-21 14:12:21 +01:00
Stanisław Drozd 3664f7a742
Merge pull request #89 from pyth-network/drozdziak1/p2w-relay-iface
p2w-terra-relay: Add generic relayer interface
2022-03-21 10:13:10 +01:00
Stan Drozd 0f445b3a75 p2w-terra-relay: apply review nits
commit-id:aec39c85
2022-03-18 13:36:45 +01:00
Stan Drozd c8e87063c9 Merge remote-tracking branch 'origin/dev.v2' into drozdziak1/p2w-terra-relay-iface-impl
commit-id:324eae28
2022-03-18 13:19:18 +01:00
Ali Behjati e55f33da63
Terra contract public api (#79)
* Use pyth-sdk in terra contract
* Update terra contract according to agreed API
- Also adds v2 suffix to price_info key because this migration is breaking.
2022-03-18 12:39:28 +01:00
Tom Pointon 91c1994fb3
Merge pull request #90 from pyth-network/tompntn-evm-save-batches
Update EVM contracts to cache attestations from batches
2022-03-18 09:49:00 +00:00
Stanisław Drozd 524a934640
Merge pull request #92 from pyth-network/drozdziak1/bridge-client-sol-bump
Dockerfile.client: solana 1.8.1 -> 1.9.4
2022-03-17 18:06:55 +01:00
Stanisław Drozd 4e83a9888a
Merge pull request #93 from pyth-network/drozdziak1/p2w-terra-relay-harden-container
p2w-terra-relay: ignore lib and node, own project dir in docker
2022-03-17 18:06:38 +01:00