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
Tom Pointon
9e3b944bc1
Define internal PythStructs.PriceInfo struct
2022-03-16 10:52:06 +00:00
Tom Pointon
d9a9a85292
Define Pyth SDK Price struct
2022-03-16 10:52:06 +00:00
Tom Pointon
b77e31adea
Merge pull request #86 from pyth-network/tompntn-evm-parse-batch
...
Add ability to parse batch price attestations to EVM contract
2022-03-16 09:33:49 +00:00
Stan Drozd
6058ec33d5
[WIP] p2w-relay-iface: Add NPM package with relayer interface PoC
...
commit-id:efcb9b34
2022-03-15 18:20:12 +01:00
Ali Behjati
0435820c29
Pyth terra remove wormhole governance ( #87 )
...
* Pyth in terra: remove wormhole governance
2022-03-15 13:06:01 +01:00
Tom Pointon
48279a2bc8
Add ability to parse batch price attestations
2022-03-15 10:41:50 +00:00
Tom Pointon
261c2d796c
Bring PythStructs.PriceAttestation struct in line with new API
2022-03-15 10:28:22 +00:00
Ali Behjati
6d682ab399
Rename twa to ema in terra relay ( #85 )
2022-03-14 15:48:53 +01:00
Ali Behjati
f3858436f1
update p2w sdk to use ema instead of twa ( #84 )
2022-03-14 15:48:40 +01:00
Tom Pointon
9623f9ade9
Correct test values to reflect .env.test
2022-03-14 13:48:01 +00:00
Ali Behjati
3199015c7d
Abehjati/update p2w sdk to pyth sdk ( #83 )
...
* Make p2w-sdk use pyth-sdk
2022-03-14 12:36:12 +01:00
Ali Behjati
2efc93eba6
Support Batch Price attestation for terra relay ( #75 )
...
* Support Batch Price attestation for terra relay
2022-03-11 16:47:20 +01:00
Ali Behjati
6544e97c35
Fix pyth test publisher ( #76 )
...
* Fix test pyth publisher to actually publish price
- Uses newer pyth images and removes existing hacks for old versions. It essentially makes dockers cleaner.
- Also improve some adds in dockers to cache more efficiently
2022-03-11 08:49:27 +01:00
Eran Davidovich
f34fae72bb
Merge pull request #78 from pyth-network/chore/p2w-attest-die
...
fix: p2w_autoattest don't die after initialization
2022-03-10 21:48:20 +02:00
Eran Davidovich
2d82183a06
convert P2W_EXIT_ON_ERROR to "true"
2022-03-10 21:07:27 +02:00
Eran Davidovich
5b9160a951
add tilt p2w-attest P2W_EXIT_ON_ERROR
2022-03-10 20:11:40 +02:00
Eran Davidovich
cde9a1b77e
hopefully this time.
2022-03-10 19:16:19 +02:00
Eran Davidovich
2039e1fe1e
Remove bool test
2022-03-10 18:55:51 +02:00
Eran Davidovich
f031c0a418
set P2W_EXIT_ON_ERROR default to True
2022-03-10 18:50:42 +02:00
Eran Davidovich
341560b440
add P2W_EXIT_ON_ERROR
2022-03-10 18:49:28 +02:00
Eran Davidovich
d44fdac83c
Merge pull request #77 from pyth-network/chore/p2w-dockerfiles-terra
...
p2w spy guarding improve Dockerfile
2022-03-10 18:07:17 +02:00
Eran Davidovich
f9b0d42a32
fix: p2w_autoattest don't die after initialization
...
also minimal formatting
2022-03-10 16:53:09 +02:00
Eran Davidovich
d1d3ccd492
chore: p2w spy guarding improve Dockerfile
2022-03-10 16:49:26 +02:00
Stanisław Drozd
63a19c363b
Merge pull request #74 from pyth-network/drozdziak1/p2w-client-concurrent-txs
...
pyth2wormhole-client: Add polling-based concurrent tx confirmation
2022-03-10 07:37:46 +01:00
Stan Drozd
e1c111f22f
pyth2wormhole-client: Add polling-based concurrent tx confirmation
...
commit-id:5d16d035
2022-03-09 22:10:18 +01:00
Ali Behjati
da564392db
Pyth bridge terra contract support batch attestation + use p2w sdk ( #72 )
...
* Make terra contract to use pyth2wormhole-sdk and support batch attestation
* Update packages + code format
* Move terra dockerfile out to support third-party dependency
2022-03-09 20:14:35 +01:00
Ali Behjati
2a0a38ec32
Add solana feature flag for p2w sdk ( #71 )
2022-03-08 16:45:17 +01:00
Stanisław Drozd
fbf61833a4
Merge pull request #46 from pyth-network/drozdziak1/p2w-client-async-retries
...
p2w client retries
2022-03-08 14:10:28 +01:00
Stan Drozd
add82b4e33
Merge remote-tracking branch 'origin/dev.v2' into drozdziak1/p2w-client-async-retries
...
commit-id:0d22d6a2
2022-03-08 13:59:21 +01:00