Skip to content

Commit

Permalink
Merge pull request #123 from pyth-network/attribute_iter_fix
Browse files Browse the repository at this point in the history
fix: attribute iteration extends past last defined attribute
  • Loading branch information
jayantk authored Aug 27, 2024
2 parents b2e876c + dc6f79e commit c34d010
Show file tree
Hide file tree
Showing 16 changed files with 8,016 additions and 22 deletions.
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

0 comments on commit c34d010

Please sign in to comment.