Skip to content

Commit 8b47417

Browse files
build(deps): bump solana-program from 2.2.1 to 2.3.0 (#79)
* build(deps): bump solana-program from 2.2.1 to 2.3.0 --- updated-dependencies: - dependency-name: solana-program dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix deprecation warnings --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C <[email protected]>
1 parent de10825 commit 8b47417

File tree

4 files changed

+21
-31
lines changed

4 files changed

+21
-31
lines changed

Cargo.lock

Lines changed: 11 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

program/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ test-sbf = []
1313

1414
[dependencies]
1515
borsh = "1.5.7"
16-
solana-program = "2.2.1"
16+
solana-feature-gate-interface = "2.2.1"
17+
solana-program = "2.3.0"
18+
solana-sdk-ids = "2.2.1"
19+
solana-system-interface = "1"
1720
spl-token = { version = "8.0", features = [
1821
"no-entrypoint",
1922
] }

program/src/processor.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@
22
33
use {
44
crate::{instruction::*, state::*, *},
5+
solana_feature_gate_interface::Feature,
56
solana_program::{
67
account_info::{next_account_info, AccountInfo},
78
clock::Clock,
89
entrypoint::ProgramResult,
9-
feature::{self, Feature},
1010
msg,
1111
program::{invoke, invoke_signed},
1212
program_error::ProgramError,
1313
pubkey::Pubkey,
1414
rent::Rent,
15-
system_instruction,
1615
sysvar::Sysvar,
1716
},
17+
solana_sdk_ids::feature,
18+
solana_system_interface::instruction as system_instruction,
1819
};
1920

2021
/// Instruction processor

program/tests/functional.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
#![cfg(feature = "test-sbf")]
44

55
use {
6-
solana_program::{
7-
feature::{self, Feature},
8-
program_option::COption,
9-
system_program,
10-
},
6+
solana_feature_gate_interface::Feature,
7+
solana_program::program_option::COption,
118
solana_program_test::*,
129
solana_sdk::{
1310
signature::{Keypair, Signer},
1411
transaction::Transaction,
1512
},
13+
solana_sdk_ids::{feature, system_program},
1614
spl_feature_proposal::{instruction::*, state::*, *},
1715
};
1816

0 commit comments

Comments
 (0)