Browse Source

Update rust to 1.60, solana to 1.11.6 (#3492)

also change bpf to sbf throughout the codebase

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
hana 3 năm trước cách đây
mục cha
commit
344df71d0c

+ 4 - 4
program/Cargo.toml

@@ -10,7 +10,7 @@ exclude = ["js/**"]
 
 [features]
 no-entrypoint = []
-test-bpf = []
+test-sbf = []
 
 [dependencies]
 arrayref = "0.3.6"
@@ -18,15 +18,15 @@ bytemuck = "1.7.2"
 num-derive = "0.3"
 num-traits = "0.2"
 num_enum = "0.5.4"
-solana-program = "1.10.35"
+solana-program = "1.11.6"
 thiserror = "1.0"
 
 [dev-dependencies]
 lazy_static = "1.4.0"
 proptest = "1.0"
 serial_test = "0.5.1"
-solana-program-test = "1.10.35"
-solana-sdk = "1.10.35"
+solana-program-test = "1.11.6"
+solana-sdk = "1.11.6"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
program/tests/assert_instruction_count.rs

@@ -1,4 +1,4 @@
-#![cfg(feature = "test-bpf")]
+#![cfg(feature = "test-sbf")]
 
 mod action;
 use {

+ 1 - 1
program/tests/close_account.rs

@@ -1,4 +1,4 @@
-#![cfg(feature = "test-bpf")]
+#![cfg(feature = "test-sbf")]
 
 use {
     solana_program_test::{processor, tokio, ProgramTest, ProgramTestContext},