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
Ali Behjati
3bb57de884
Use threadpool to set up price symbols ( #69 )
2022-03-08 13:25:28 +01:00
Ali Behjati
f72caf0b56
p2w attester contract use p2w-sdk ( #68 )
...
* Make solana pyth2wormhole contract to use the sdk
2022-03-08 12:28:09 +01:00
Ali Behjati
643ab162d1
Make p2w-sdk js use p2w-sdk rust wasm bindings ( #65 )
...
* Make p2w-sdk js use p2w-sdk rust wasm bindings (instead of solana contract bindings)
- Removes `wasm.rs` in solana contract too.
2022-03-07 20:15:06 +01:00
Ali Behjati
d09519ad4e
Merge pull request #66 from pyth-network/abehjati/move-terra-relayer-in-repo
...
Move terra relayer into the repo
2022-03-07 20:06:37 +01:00
Stan Drozd
c92da3467c
pyth2wormhole-client: Implement retries
...
commit-id:462677a2
2022-03-07 19:58:24 +01:00
Stan Drozd
6d9725f99c
p2w-client: Add lib target, make helpers into lib functions there
...
commit-id:3aeb9ee6
2022-03-07 19:56:36 +01:00
Ali Behjati
ca02edd7fc
Update readme
2022-03-07 13:12:49 +00:00
Ali Behjati
8387c70fda
Move terra relayer into the repo
2022-03-07 13:09:38 +00:00
Ali Behjati
248e525643
Merge pull request #64 from pyth-network/abehjati/wasm-docker-cache-bugfix
...
wasm docker cache bugfix
2022-03-07 13:32:29 +01:00