Skip to content

Commit 0812994

Browse files
authored
[tilt] Bump pyth-client to 2.20 (#505)
* Bump to 2.20 * Rename to pyth_oracle.so * Cleanup
1 parent ff89f36 commit 0812994

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

third_party/pyth/Dockerfile.pyth

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1.2
22
# Wormhole-specific setup for pyth
3-
FROM pythfoundation/pyth-client:devnet-v2.12.0
3+
FROM pythfoundation/pyth-client:devnet-v2.20.0
44

55
USER root
66

third_party/pyth/pyth_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
PYTH_PROGRAM_KEYPAIR = os.environ.get(
2020
"PYTH_PROGRAM_KEYPAIR", f"{PYTH_KEY_STORE}/publish_key_pair.json"
2121
)
22-
PYTH_PROGRAM_SO_PATH = os.environ.get("PYTH_PROGRAM_SO", "../target/oracle.so")
2322
PYTH_PUBLISHER_KEYPAIR = os.environ.get(
2423
"PYTH_PUBLISHER_KEYPAIR", f"{PYTH_KEY_STORE}/publish_key_pair.json"
2524
)

tilt-devnet/docker-images/Dockerfile.solana

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#syntax=docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc
2-
FROM pythfoundation/pyth-client:devnet-v2.12.0 as pyth-oracle-copy
2+
FROM pythfoundation/pyth-client:devnet-v2.20.0 as pyth-oracle-copy
33

44
FROM docker.io/library/rust:1.49@sha256:a50165ea96983c21832578afb1c8c028674c965bc1ed43b607871b1f362e06a5 as build
55

@@ -69,7 +69,7 @@ RUN --mount=type=cache,target=/usr/src/bridge/wormhole/solana/target \
6969
cp wormhole-attester/target/deploy/pyth_wormhole_attester.so /opt/solana/deps/pyth_wormhole_attester.so && \
7070
cp squads/squads-mpl/target/deploy/mesh.so /opt/solana/deps/mesh.so
7171

72-
COPY --from=pyth-oracle-copy /home/pyth/pyth-client/target/oracle.so /opt/solana/deps/pyth_oracle.so
72+
COPY --from=pyth-oracle-copy /home/pyth/pyth-client/target/deploy/pyth_oracle.so /opt/solana/deps/pyth_oracle.so
7373

7474
ENV RUST_LOG="solana_runtime::system_instruction_processor=trace,solana_runtime::message_processor=trace,solana_bpf_loader=debug,solana_rbpf=debug"
7575
ENV RUST_BACKTRACE=1

0 commit comments

Comments
 (0)