Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: attribute iteration extends past last defined attribute #123

Merged
merged 16 commits into from
Aug 27, 2024
9 changes: 4 additions & 5 deletions .github/workflows/pyth-sdk-example-anchor-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config build-essential
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config build-essential protobuf-compiler
- name: Install solana binaries
run: |
# Installing 1.16.x cli tools to have sbf instead of bpf. bpf does not work anymore.
sh -c "$(curl -sSfL https://release.solana.com/v1.18.1/install)"
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Install anchor binaries
run: |
cargo install --git https://github.com/project-serum/anchor avm --locked --force
avm install latest
avm use latest
avm install 0.28.0
avm use 0.28.0
- name: Build
run: anchor build
5 changes: 2 additions & 3 deletions .github/workflows/pyth-sdk-example-solana-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev protobuf-compiler
- name: Install solana binaries
run: |
# Installing 1.16.x cli tools to have sbf instead of bpf. bpf does not work anymore.
sh -c "$(curl -sSfL https://release.solana.com/v1.18.1/install)"
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Build
run: scripts/build.sh
6 changes: 3 additions & 3 deletions .github/workflows/pyth-sdk-solana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev protobuf-compiler
- name: Build
run: cargo build --verbose
- name: Run tests
Expand All @@ -31,10 +31,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev protobuf-compiler
- name: Install Solana Binaries
run: |
sh -c "$(curl -sSfL https://release.solana.com/v1.18.4/install)"
sh -c "$(curl -sSfL https://release.solana.com/v1.18.21/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Build
run: cargo build --verbose
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
*.swp
debug
target
Cargo.lock
artifacts/

# IntelliJ temp files
Expand Down
Loading
Loading