Skip to content

Commit

Permalink
Bump platform tools to v1.44 (#5019)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Feb 18, 2025
1 parent 379669f commit d03b1f4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion platform-tools-sdk/cargo-build-sbf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use {
tar::Archive,
};

const DEFAULT_PLATFORM_TOOLS_VERSION: &str = "v1.43";
const DEFAULT_PLATFORM_TOOLS_VERSION: &str = "v1.44";

#[derive(Debug)]
struct Config<'a> {
Expand Down
1 change: 1 addition & 0 deletions platform-tools-sdk/cargo-build-sbf/tests/crates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ fn test_generate_child_script_on_failure() {
}

#[test]
#[ignore]
#[serial]
fn test_sbfv2() {
run_cargo_build("noop", &["--arch", "sbfv2"], false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
publish = false

[package.metadata.solana]
tools-version = "v1.43"
tools-version = "v1.44"
program-id = "MyProgram1111111111111111111111111111111111"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ crate-type = ["cdylib"]
[workspace]

[workspace.metadata.solana]
tools-version = "v1.43"
tools-version = "v1.44"
2 changes: 1 addition & 1 deletion platform-tools-sdk/sbf/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if [[ ! -e criterion-$version.md || ! -e criterion ]]; then
fi

# Install platform tools
version=v1.43
version=v1.44
if [[ ! -e platform-tools-$version.md || ! -e platform-tools ]]; then
(
set -e
Expand Down
4 changes: 2 additions & 2 deletions programs/sbf/tests/programs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1699,7 +1699,7 @@ fn test_program_sbf_invoke_in_same_tx_as_deployment() {
let (result, _, _, _) = process_transaction_and_record_inner(&bank, tx);
assert_eq!(
result.unwrap_err(),
TransactionError::InstructionError(38, InstructionError::UnsupportedProgramId),
TransactionError::InstructionError(37, InstructionError::UnsupportedProgramId),
);
}
}
Expand Down Expand Up @@ -3956,7 +3956,7 @@ fn test_cpi_deprecated_loader_realloc() {
if direct_mapping {
assert_eq!(
result.unwrap_err().unwrap(),
TransactionError::InstructionError(0, InstructionError::InvalidRealloc)
TransactionError::InstructionError(0, InstructionError::ProgramFailedToComplete)
);
} else {
assert_eq!(
Expand Down

0 comments on commit d03b1f4

Please sign in to comment.