Skip to content

Commit 4c1d9dc

Browse files
Merge branch 'pyth-network:main' into stylus-sdk
2 parents 823eab0 + bf4375e commit 4c1d9dc

File tree

447 files changed

+18417
-30784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

447 files changed

+18417
-30784
lines changed

.github/workflows/ci-lazer-solana-contract.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: cargo install --locked [email protected]
2626
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 20.18.0
28+
node-version-file: "package.json"
2929
- name: Install Solana Cli
3030
run: |
3131
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
@@ -36,9 +36,3 @@ jobs:
3636
run: solana-keygen new --no-bip39-passphrase
3737
- name: Install Anchor
3838
run: RUSTFLAGS= cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.1 anchor-cli
39-
- name: Install pnpm
40-
run: npm install --global [email protected]
41-
- name: Install test dependencies
42-
run: pnpm install --frozen-lockfile
43-
- name: Run tests
44-
run: pnpm run test

.github/workflows/ci-message-buffer-idl.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
components: rustfmt, clippy
2626
- name: Install Solana
2727
run: |
28+
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
29+
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
2830
sh -c "$(curl -sSfL https://release.solana.com/v1.14.18/install)"
2931
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
3032
- name: Install Anchor

.github/workflows/ci-pre-commit.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- name: Install poetry
3232
run: pipx install poetry
33+
- name: Install g++ 12
34+
run: |
35+
sudo apt-get install g++-12
36+
echo "CXX=/usr/bin/g++-12" >> "${GITHUB_ENV}"
3337
- uses: actions/setup-python@v2
3438
with:
3539
python-version: ${{ env.PYTHON_VERSION }}
@@ -39,9 +43,6 @@ jobs:
3943
with:
4044
path: ~/.cache/pypoetry
4145
key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
42-
- name: Install poetry dependencies
43-
run: poetry -C express_relay/sdk/python/express_relay install
44-
shell: sh
4546
- uses: pre-commit/[email protected]
4647
if: ${{ github.event_name == 'pull_request' }}
4748
with:

.github/workflows/pypi-express-relay-utils.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ __pycache__
2323
.direnv
2424
.next
2525
.turbo/
26+
.cursorrules

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.18.0
1+
v22.13.0

.pre-commit-config.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -126,30 +126,6 @@ repos:
126126
entry: cargo +1.73.0 clippy --manifest-path ./target_chains/solana/Cargo.toml --tests -- --deny warnings
127127
pass_filenames: false
128128
files: target_chains/solana
129-
# For express relay python files
130-
- id: poetry-install
131-
name: poetry install
132-
entry: poetry -C express_relay/sdk/python/express_relay install
133-
pass_filenames: false
134-
files: express_relay/sdk/python/express_relay
135-
language: "system"
136-
- id: black
137-
name: black
138-
entry: poetry -C express_relay/sdk/python/express_relay run black
139-
files: express_relay/sdk/python/express_relay
140-
language: "system"
141-
- id: pyflakes
142-
name: pyflakes
143-
entry: poetry -C express_relay/sdk/python/express_relay run pyflakes
144-
files: express_relay/sdk/python/express_relay
145-
exclude: express_relay/sdk/python/express_relay/svm/generated/
146-
language: "system"
147-
- id: mypy
148-
name: mypy
149-
entry: poetry -C express_relay/sdk/python/express_relay run mypy
150-
files: express_relay/sdk/python/express_relay
151-
exclude: express_relay/sdk/python/express_relay/svm/generated/
152-
language: "system"
153129
# For Lazer
154130
- id: cargo-fmt-lazer
155131
name: Cargo format for Lazer

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ patches/
2020
apps/api-reference
2121
apps/staking
2222
apps/insights
23+
apps/entropy-debugger
2324
governance/pyth_staking_sdk
2425
packages/*

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nodejs 20.18.0
2-
pnpm 9.12.3
1+
nodejs 22.13.0
2+
pnpm 9.15.4
33
rust 1.78.0
44
python 3.12.4

Dockerfile.node

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.18.0-slim@sha256:ec35a66c9a0a275b027debde05247c081f8b2f0c43d7399d3a6ad5660cee2f6a as builder-base
1+
FROM node:22.13.0-slim@sha256:f5a0871ab03b035c58bdb3007c3d177b001c2145c18e81817b71624dcf7d8bff as builder-base
22
WORKDIR /usr/src/pyth
33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
@@ -7,7 +7,7 @@ COPY ./ .
77
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
88

99

10-
FROM node:20.18.0-alpine3.20@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9 as runner-base
10+
FROM node:22.13.0-alpine3.21@sha256:f2dc6eea95f787e25f173ba9904c9d0647ab2506178c7b5b7c5a3d02bc4af145 as runner-base
1111
WORKDIR /srv
1212
ENV NODE_ENV production
1313
RUN addgroup --system --gid 1001 pyth && adduser --system --uid 1001 pyth -g pyth && chown pyth:pyth .

0 commit comments

Comments
 (0)