Commit Graph

1752 Commits

Author SHA1 Message Date
Stan Drozd cf04759132 p2w-evm-relay.yaml: typo 2: electric boogaloo
commit-id:40892265
2022-03-24 16:12:53 +01:00
Stan Drozd ea5fe5e887 p2w-evm-relay.yaml: typo
commit-id:35c87c79
2022-03-24 15:47:56 +01:00
Stan Drozd 5147d28642 Tiltfile: typo
commit-id:3bbba986
2022-03-24 15:07:04 +01:00
Stan Drozd b9f73589d6 p2w-terra-relay -> p2w-relay, split EVM relay into new service
commit-id:36d0db6e
2022-03-24 15:04:54 +01:00
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
Ali Behjati 2c37465618
Add health probe (#107) 2022-03-24 11:32:56 +01: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
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
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
Stan Drozd 67c7e34809 p2w-terra-relay: iface.ts review nits, naive impl for Terra
commit-id:0ecbfdd6
2022-03-17 15:49:57 +01:00
Stan Drozd d9cbde7255 p2w-terra-relay: ignore lib and node, own project dir in docker
commit-id:b084bc40
2022-03-17 15:07:02 +01:00
Stan Drozd 38e640f608 Dockerfile.client: solana 1.8.1 -> 1.9.4
commit-id:643299d3
2022-03-17 14:28:09 +01:00
Ali Behjati 9ebcec4675
update p2w sdk to new pyth (#91)
* p2w-sdk/rust use pyth sdk solana v2
2022-03-17 10:49:51 +01:00
Tom Pointon 7fbd842d8d Add test for partial update behaviour 2022-03-16 17:59:48 +00:00
Ali Behjati 7d41fb1ea1
Pyth terra bridge: add contract deployment script (#88)
* Add pyth deployment script

- Also updates build.sh to build pyth completely
- Add a readme for deployment guide
2022-03-16 18:21:02 +01:00
Tom Pointon 4861c1822b Remove now unnused parsePriceAttestation function 2022-03-16 17:12:11 +00:00
Stan Drozd 1a4eed1af3 Merge remote-tracking branch 'origin/dev.v2' into drozdziak1/p2w-relay-iface
commit-id:7df0120b
2022-03-16 13:50:32 +01:00
Stan Drozd 6916266fa7 p2w relay interface: remove config from Relay iface
commit-id:0359d886
2022-03-16 13:49:48 +01:00
Stan Drozd e852fc5d89 p2w-relay-iface -> p2w-relay-terra/src/relay/iface.ts
commit-id:ed9846e3
2022-03-16 13:47:03 +01:00
Tom Pointon bb0455655a Cache price updates from batch attestations 2022-03-16 10:52:06 +00:00
Tom Pointon 5a73356bb0 Cache price updates in standardised PriceInfo format 2022-03-16 10:52:06 +00:00