Skip to content

Commit c34d010

Browse files
authored
Merge pull request #123 from pyth-network/attribute_iter_fix
fix: attribute iteration extends past last defined attribute
2 parents b2e876c + dc6f79e commit c34d010

File tree

16 files changed

+8016
-22
lines changed

16 files changed

+8016
-22
lines changed

.github/workflows/pyth-sdk-example-anchor-contract.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,15 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Install dependencies
21-
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config build-essential
21+
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config build-essential protobuf-compiler
2222
- name: Install solana binaries
2323
run: |
24-
# Installing 1.16.x cli tools to have sbf instead of bpf. bpf does not work anymore.
25-
sh -c "$(curl -sSfL https://release.solana.com/v1.18.1/install)"
24+
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)"
2625
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
2726
- name: Install anchor binaries
2827
run: |
2928
cargo install --git https://github.com/project-serum/anchor avm --locked --force
30-
avm install latest
31-
avm use latest
29+
avm install 0.28.0
30+
avm use 0.28.0
3231
- name: Build
3332
run: anchor build

.github/workflows/pyth-sdk-example-solana-contract.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Install dependencies
21-
run: sudo apt-get update && sudo apt-get install libudev-dev
21+
run: sudo apt-get update && sudo apt-get install libudev-dev protobuf-compiler
2222
- name: Install solana binaries
2323
run: |
24-
# Installing 1.16.x cli tools to have sbf instead of bpf. bpf does not work anymore.
25-
sh -c "$(curl -sSfL https://release.solana.com/v1.18.1/install)"
24+
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)"
2625
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
2726
- name: Build
2827
run: scripts/build.sh

.github/workflows/pyth-sdk-solana.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Install dependencies
21-
run: sudo apt-get update && sudo apt-get install libudev-dev
21+
run: sudo apt-get update && sudo apt-get install libudev-dev protobuf-compiler
2222
- name: Build
2323
run: cargo build --verbose
2424
- name: Run tests
@@ -31,10 +31,10 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v2
3333
- name: Install dependencies
34-
run: sudo apt-get update && sudo apt-get install libudev-dev
34+
run: sudo apt-get update && sudo apt-get install libudev-dev protobuf-compiler
3535
- name: Install Solana Binaries
3636
run: |
37-
sh -c "$(curl -sSfL https://release.solana.com/v1.18.4/install)"
37+
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)"
3838
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
3939
- name: Build
4040
run: cargo build --verbose

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
*.swp
22
debug
33
target
4-
Cargo.lock
54
artifacts/
65

76
# IntelliJ temp files

0 commit comments

Comments
 (0)