Skip to content

Commit

Permalink
Update solana-program to 1.5.11 (#1362)
Browse files Browse the repository at this point in the history
* Update solana-program to 1.5.11

* Update all programs
  • Loading branch information
joncinque authored Mar 2, 2021
1 parent f0b7098 commit 9c12b50
Show file tree
Hide file tree
Showing 24 changed files with 173 additions and 148 deletions.
174 changes: 100 additions & 74 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions associated-token-account/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ no-entrypoint = []
test-bpf = []

[dependencies]
solana-program = "1.5.8"
solana-program = "1.5.11"
spl-token = { version = "3.1", path = "../../token/program", features = ["no-entrypoint"] }

[dev-dependencies]
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
6 changes: 3 additions & 3 deletions examples/rust/cross-program-invocation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ no-entrypoint = []
test-bpf = []

[dependencies]
solana-program = "1.5.8"
solana-program = "1.5.11"

[dev-dependencies]
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
6 changes: 3 additions & 3 deletions examples/rust/custom-heap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ no-entrypoint = []
test-bpf = []

[dependencies]
solana-program = "1.5.8"
solana-program = "1.5.11"

[dev-dependencies]
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
6 changes: 3 additions & 3 deletions examples/rust/logging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ no-entrypoint = []
test-bpf = []

[dependencies]
solana-program = "1.5.8"
solana-program = "1.5.11"

[dev-dependencies]
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
6 changes: 3 additions & 3 deletions examples/rust/sysvar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ no-entrypoint = []
test-bpf = []

[dependencies]
solana-program = "1.5.8"
solana-program = "1.5.11"

[dev-dependencies]
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
6 changes: 3 additions & 3 deletions examples/rust/transfer-lamports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ no-entrypoint = []
test-bpf = []

[dependencies]
solana-program = "1.5.8"
solana-program = "1.5.11"

[dev-dependencies]
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
10 changes: 5 additions & 5 deletions feature-proposal/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ edition = "2018"
[dependencies]
chrono = "0.4.19"
clap = "2.33.3"
solana-clap-utils = "1.5.6"
solana-cli-config = "1.5.8"
solana-client = "1.5.6"
solana-logger = "1.5.6"
solana-sdk = "1.5.6"
solana-clap-utils = "1.5.11"
solana-cli-config = "1.5.11"
solana-client = "1.5.11"
solana-logger = "1.5.11"
solana-sdk = "1.5.11"
spl-feature-proposal = { version = "1.0", path = "../program", features = ["no-entrypoint"] }

[[bin]]
Expand Down
7 changes: 3 additions & 4 deletions feature-proposal/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ test-bpf = []
[dependencies]
borsh = "0.7.1"
borsh-derive = "0.8.1"
solana-program = "1.5.8"
solana-program = "1.5.11"
spl-token = { version = "3.1", path = "../../token/program", features = ["no-entrypoint"] }


[dev-dependencies]
futures = "0.3"
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
6 changes: 3 additions & 3 deletions libraries/math/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ borsh = "0.7.1"
borsh-derive = "0.8.1"
num-derive = "0.3"
num-traits = "0.2"
solana-program = "1.5.8"
solana-program = "1.5.11"
thiserror = "1.0"
uint = "0.8"

[dev-dependencies]
proptest = "0.10"
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
6 changes: 3 additions & 3 deletions memo/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ no-entrypoint = []
test-bpf = []

[dependencies]
solana-program = "1.5.8"
solana-program = "1.5.11"

[dev-dependencies]
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
4 changes: 2 additions & 2 deletions memo/program/tests/functional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ async fn test_memo_compute_limits() {
}

let mut transaction =
Transaction::new_with_payer(&[build_memo(&memo[..566], &[])], Some(&payer.pubkey()));
Transaction::new_with_payer(&[build_memo(&memo[..565], &[])], Some(&payer.pubkey()));
transaction.sign(&[&payer], recent_blockhash);
banks_client.process_transaction(transaction).await.unwrap();

let mut transaction =
Transaction::new_with_payer(&[build_memo(&memo[..567], &[])], Some(&payer.pubkey()));
Transaction::new_with_payer(&[build_memo(&memo[..568], &[])], Some(&payer.pubkey()));
transaction.sign(&[&payer], recent_blockhash);
assert_eq!(
banks_client
Expand Down
6 changes: 3 additions & 3 deletions shared-memory/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ edition = "2018"

[dependencies]
arrayref = "0.3.6"
solana-program = "1.5.8"
solana-program = "1.5.11"

[dev-dependencies]
solana-bpf-loader-program = "1.5.6"
solana-sdk = "1.5.6"
solana-bpf-loader-program = "1.5.11"
solana-sdk = "1.5.11"
solana_rbpf = "0.2"

[lib]
Expand Down
14 changes: 7 additions & 7 deletions stake-pool/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ version = "2.0.1"
[dependencies]
clap = "2.33.3"
serde_json = "1.0.62"
solana-account-decoder = "1.5.6"
solana-clap-utils = "1.5.6"
solana-cli-config = "1.5.8"
solana-client = "1.5.6"
solana-logger = "1.5.6"
solana-sdk = "1.5.6"
solana-program = "1.5.8"
solana-account-decoder = "1.5.11"
solana-clap-utils = "1.5.11"
solana-cli-config = "1.5.11"
solana-client = "1.5.11"
solana-logger = "1.5.11"
solana-sdk = "1.5.11"
solana-program = "1.5.11"
spl-stake-pool = { path="../program", features = [ "no-entrypoint" ] }
spl-token = { path="../../token/program", features = [ "no-entrypoint" ] }
bs58 = "0.4.0"
Expand Down
8 changes: 4 additions & 4 deletions stake-pool/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ num-traits = "0.2"
num_enum = "0.5.1"
serde = "1.0.121"
serde_derive = "1.0.103"
solana-program = "1.5.8"
solana-program = "1.5.11"
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
thiserror = "1.0"
bincode = "1.3.1"

[dev-dependencies]
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-vote-program = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
solana-vote-program = "1.5.11"
tokio = { version = "0.3", features = ["macros"]}

[lib]
Expand Down
6 changes: 3 additions & 3 deletions token-lending/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ license = "Apache-2.0"
edition = "2018"

[dependencies]
solana-client = "1.5.6"
solana-program = "1.5.8"
solana-sdk = "1.5.6"
solana-client = "1.5.11"
solana-program = "1.5.11"
solana-sdk = "1.5.11"
spl-token-lending = { path = "../program", features = [ "no-entrypoint" ] }
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
6 changes: 3 additions & 3 deletions token-lending/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ arrayref = "0.3.6"
num-derive = "0.3"
num-traits = "0.2"
serum_dex = { git = "https://github.com/project-serum/serum-dex", rev = "991a86e", features = ["no-entrypoint"] }
solana-program = "1.5.8"
solana-program = "1.5.11"
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
thiserror = "1.0"
uint = "0.8"
Expand All @@ -27,8 +27,8 @@ assert_matches = "1.5.0"
base64 = "0.13"
log = "0.4.14"
proptest = "0.10"
solana-program-test = "1.5.6"
solana-sdk = "1.5.6"
solana-program-test = "1.5.11"
solana-sdk = "1.5.11"
serde = "1.0"
serde_yaml = "0.8"
tokio = { version = "0.3", features = ["macros"]}
Expand Down
2 changes: 1 addition & 1 deletion token-lending/program/tests/init_lending_market.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async fn test_success() {
);

// limit to track compute unit increase
test.set_bpf_compute_max_units(8_000);
test.set_bpf_compute_max_units(9_000);

let usdc_mint = add_usdc_mint(&mut test);
let (mut banks_client, payer, _recent_blockhash) = test.start().await;
Expand Down
4 changes: 2 additions & 2 deletions token-swap/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ arrayref = "0.3.6"
enum_dispatch = "0.3.4"
num-derive = "0.3"
num-traits = "0.2"
solana-program = "1.5.8"
solana-program = "1.5.11"
spl-math = { version = "0.1", path = "../../libraries/math", features = [ "no-entrypoint" ] }
spl-token = { version = "3.1", path = "../../token/program", features = [ "no-entrypoint" ] }
thiserror = "1.0"
arbitrary = { version = "0.4", features = ["derive"], optional = true }

[dev-dependencies]
solana-sdk = "1.5.6"
solana-sdk = "1.5.11"
proptest = "0.10"
sim = { path = "./sim" }

Expand Down
2 changes: 1 addition & 1 deletion token-swap/program/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ publish = false
[dependencies]
honggfuzz = { version = "0.5.52" }
arbitrary = { version = "0.4", features = ["derive"] }
solana-program = "1.5.8"
solana-program = "1.5.11"
spl-math = { version = "0.1", path = "../../../libraries/math", features = [ "no-entrypoint" ] }
spl-token = { version = "3.1", path = "../../../token/program", features = [ "no-entrypoint" ] }
spl-token-swap = { path = "..", features = ["fuzz", "no-entrypoint"] }
Expand Down
16 changes: 8 additions & 8 deletions token/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ version = "2.0.6"
clap = "2.33.3"
console = "0.14.0"
serde_json = "1.0.62"
solana-account-decoder = "1.5.6"
solana-clap-utils = "1.5.6"
solana-cli-config = "1.5.8"
solana-cli-output = "1.5.6"
solana-client = "1.5.6"
solana-logger = "1.5.6"
solana-remote-wallet = "1.5.6"
solana-sdk = "1.5.6"
solana-account-decoder = "1.5.11"
solana-clap-utils = "1.5.11"
solana-cli-config = "1.5.11"
solana-cli-output = "1.5.11"
solana-client = "1.5.11"
solana-logger = "1.5.11"
solana-remote-wallet = "1.5.11"
solana-sdk = "1.5.11"
spl-token = { version = "3.1", path="../program", features = [ "no-entrypoint" ] }
spl-associated-token-account = { version = "1.0", path="../../associated-token-account/program", features = [ "no-entrypoint" ] }

Expand Down
8 changes: 4 additions & 4 deletions token/perf-monitor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ edition = "2018"
[dev-dependencies]
rand = { version = "0.7.0"}
spl-token = { path = "../program", features = [ "no-entrypoint" ] }
solana-runtime = "1.5.6"
solana-sdk = "1.5.6"
solana-bpf-loader-program = "1.5.6"
solana_rbpf = "0.1"
solana-runtime = "1.5.11"
solana-sdk = "1.5.11"
solana-bpf-loader-program = "1.5.11"
solana_rbpf = "0.2"

[workspace]
4 changes: 2 additions & 2 deletions token/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ arrayref = "0.3.6"
num-derive = "0.3"
num-traits = "0.2"
num_enum = "0.5.1"
solana-program = "1.5.8"
solana-program = "1.5.11"
thiserror = "1.0"

[dev-dependencies]
solana-sdk = "1.5.6"
solana-sdk = "1.5.11"

[lib]
crate-type = ["cdylib", "lib"]
Expand Down
2 changes: 1 addition & 1 deletion utils/test-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
# Used to ensure that SPL programs are buildable by external clients

[dependencies]
solana-sdk = "1.5.6"
solana-sdk = "1.5.11"
spl-memo = { path = "../../memo/program", features = [ "no-entrypoint" ] }
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
spl-token-swap = { path = "../../token-swap/program", features = [ "no-entrypoint" ] }

0 comments on commit 9c12b50

Please sign in to comment.