diff --git a/.github/workflows/pyth-sdk-example-anchor-contract.yml b/.github/workflows/pyth-sdk-example-anchor-contract.yml index 2fb06ad..24e5a60 100644 --- a/.github/workflows/pyth-sdk-example-anchor-contract.yml +++ b/.github/workflows/pyth-sdk-example-anchor-contract.yml @@ -25,7 +25,7 @@ jobs: 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 + cargo install --git https://github.com/coral-xyz/anchor avm --tag v0.28.0 --locked --force avm install 0.28.0 avm use 0.28.0 - name: Build diff --git a/Cargo.lock b/Cargo.lock index 0227fc1..81313e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2754,7 +2754,7 @@ dependencies = [ [[package]] name = "pyth-sdk-solana" -version = "0.10.2" +version = "0.10.3" dependencies = [ "borsh 0.10.3", "borsh-derive 0.10.3", diff --git a/pyth-sdk-solana/Cargo.toml b/pyth-sdk-solana/Cargo.toml index f361f9d..a2989c3 100644 --- a/pyth-sdk-solana/Cargo.toml +++ b/pyth-sdk-solana/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyth-sdk-solana" -version = "0.10.2" +version = "0.10.3" authors = ["Pyth Data Foundation"] workspace = "../" edition = "2018" diff --git a/pyth-sdk-solana/src/state.rs b/pyth-sdk-solana/src/state.rs index eed9eb0..c4fab5d 100644 --- a/pyth-sdk-solana/src/state.rs +++ b/pyth-sdk-solana/src/state.rs @@ -30,7 +30,7 @@ use crate::PythError; pub const MAGIC: u32 = 0xa1b2c3d4; pub const VERSION_2: u32 = 2; pub const VERSION: u32 = VERSION_2; -pub const MAP_TABLE_SIZE: usize = 640; +pub const MAP_TABLE_SIZE: usize = 5000; pub const PROD_ACCT_SIZE: usize = 512; pub const PROD_HDR_SIZE: usize = 48; pub const PROD_ATTR_SIZE: usize = PROD_ACCT_SIZE - PROD_HDR_SIZE;