Bump version to v1.11 (#23807)
* Revert crossbeam_epoch to stable. 0.9.8 only works with nightly * Remove unneeded unit expression
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "solana-sdk"
|
||||
version = "1.10.4"
|
||||
version = "1.11.0"
|
||||
description = "Solana SDK"
|
||||
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
||||
repository = "https://github.com/solana-labs/solana"
|
||||
@ -71,11 +71,11 @@ serde_derive = "1.0.103"
|
||||
serde_json = { version = "1.0.79", optional = true }
|
||||
sha2 = "0.10.2"
|
||||
sha3 = { version = "0.10.1", optional = true }
|
||||
solana-frozen-abi = { path = "../frozen-abi", version = "=1.10.4" }
|
||||
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.10.4" }
|
||||
solana-logger = { path = "../logger", version = "=1.10.4", optional = true }
|
||||
solana-program = { path = "program", version = "=1.10.4" }
|
||||
solana-sdk-macro = { path = "macro", version = "=1.10.4" }
|
||||
solana-frozen-abi = { path = "../frozen-abi", version = "=1.11.0" }
|
||||
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.11.0" }
|
||||
solana-logger = { path = "../logger", version = "=1.11.0", optional = true }
|
||||
solana-program = { path = "program", version = "=1.11.0" }
|
||||
solana-sdk-macro = { path = "macro", version = "=1.11.0" }
|
||||
thiserror = "1.0"
|
||||
uriparse = "0.6.3"
|
||||
wasm-bindgen = "0.2"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "solana-cargo-build-bpf"
|
||||
version = "1.10.4"
|
||||
version = "1.11.0"
|
||||
description = "Compile a local package and all of its dependencies using the Solana BPF SDK"
|
||||
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
||||
repository = "https://github.com/solana-labs/solana"
|
||||
@ -14,8 +14,8 @@ bzip2 = "0.4.3"
|
||||
cargo_metadata = "0.14.2"
|
||||
clap = { version = "3.1.5", features = ["cargo", "env"] }
|
||||
regex = "1.5.4"
|
||||
solana-download-utils = { path = "../../download-utils", version = "=1.10.4" }
|
||||
solana-sdk = { path = "..", version = "=1.10.4" }
|
||||
solana-download-utils = { path = "../../download-utils", version = "=1.11.0" }
|
||||
solana-sdk = { path = "..", version = "=1.11.0" }
|
||||
tar = "0.4.38"
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "fail"
|
||||
version = "1.10.4"
|
||||
version = "1.11.0"
|
||||
description = "Solana BPF test program written in Rust"
|
||||
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
||||
repository = "https://github.com/solana-labs/solana"
|
||||
@ -10,7 +10,7 @@ edition = "2021"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
solana-program = { path = "../../../../program", version = "=1.10.4" }
|
||||
solana-program = { path = "../../../../program", version = "=1.11.0" }
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "noop"
|
||||
version = "1.10.4"
|
||||
version = "1.11.0"
|
||||
description = "Solana BPF test program written in Rust"
|
||||
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
||||
repository = "https://github.com/solana-labs/solana"
|
||||
@ -10,7 +10,7 @@ edition = "2021"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
solana-program = { path = "../../../../program", version = "=1.10.4" }
|
||||
solana-program = { path = "../../../../program", version = "=1.11.0" }
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "solana-cargo-test-bpf"
|
||||
version = "1.10.4"
|
||||
version = "1.11.0"
|
||||
description = "Execute all unit and integration tests after building with the Solana BPF SDK"
|
||||
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
||||
repository = "https://github.com/solana-labs/solana"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "solana-sdk-macro"
|
||||
version = "1.10.4"
|
||||
version = "1.11.0"
|
||||
description = "Solana SDK Macro"
|
||||
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
||||
repository = "https://github.com/solana-labs/solana"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "solana-program"
|
||||
version = "1.10.4"
|
||||
version = "1.11.0"
|
||||
description = "Solana Program"
|
||||
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
||||
repository = "https://github.com/solana-labs/solana"
|
||||
@ -29,9 +29,9 @@ serde_bytes = "0.11"
|
||||
serde_derive = "1.0.103"
|
||||
sha2 = "0.10.0"
|
||||
sha3 = "0.10.0"
|
||||
solana-frozen-abi = { path = "../../frozen-abi", version = "=1.10.4" }
|
||||
solana-frozen-abi-macro = { path = "../../frozen-abi/macro", version = "=1.10.4" }
|
||||
solana-sdk-macro = { path = "../macro", version = "=1.10.4" }
|
||||
solana-frozen-abi = { path = "../../frozen-abi", version = "=1.11.0" }
|
||||
solana-frozen-abi-macro = { path = "../../frozen-abi/macro", version = "=1.11.0" }
|
||||
solana-sdk-macro = { path = "../macro", version = "=1.11.0" }
|
||||
thiserror = "1.0"
|
||||
|
||||
[target.'cfg(not(target_arch = "bpf"))'.dependencies]
|
||||
@ -44,7 +44,7 @@ itertools = "0.10.1"
|
||||
wasm-bindgen = "0.2"
|
||||
|
||||
[target.'cfg(not(target_arch = "bpf"))'.dev-dependencies]
|
||||
solana-logger = { path = "../../logger", version = "=1.10.4" }
|
||||
solana-logger = { path = "../../logger", version = "=1.11.0" }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
console_error_panic_hook = "0.1.7"
|
||||
|
@ -19,7 +19,7 @@ use {
|
||||
message::{CompiledKeys, MessageHeader},
|
||||
pubkey::Pubkey,
|
||||
sanitize::{Sanitize, SanitizeError},
|
||||
short_vec, system_instruction, system_program, sysvar, wasm_bindgen,
|
||||
short_vec, system_instruction, system_program, sysvar,
|
||||
},
|
||||
lazy_static::lazy_static,
|
||||
std::{convert::TryFrom, str::FromStr},
|
||||
@ -82,18 +82,15 @@ fn compile_instructions(ixs: &[Instruction], keys: &[Pubkey]) -> Vec<CompiledIns
|
||||
/// redundantly specifying the fee-payer is not strictly required.
|
||||
// NOTE: Serialization-related changes must be paired with the custom serialization
|
||||
// for versioned messages in the `RemainingLegacyMessage` struct.
|
||||
#[wasm_bindgen]
|
||||
#[frozen_abi(digest = "2KnLEqfLcTBQqitE22Pp8JYkaqVVbAkGbCfdeHoyxcAU")]
|
||||
#[derive(Serialize, Deserialize, Default, Debug, PartialEq, Eq, Clone, AbiExample)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Message {
|
||||
/// The message header, identifying signed and read-only `account_keys`.
|
||||
// NOTE: Serialization-related changes must be paired with the direct read at sigverify.
|
||||
#[wasm_bindgen(skip)]
|
||||
pub header: MessageHeader,
|
||||
|
||||
/// All the account keys used by this transaction.
|
||||
#[wasm_bindgen(skip)]
|
||||
#[serde(with = "short_vec")]
|
||||
pub account_keys: Vec<Pubkey>,
|
||||
|
||||
@ -102,7 +99,6 @@ pub struct Message {
|
||||
|
||||
/// Programs that will be executed in sequence and committed in one atomic transaction if all
|
||||
/// succeed.
|
||||
#[wasm_bindgen(skip)]
|
||||
#[serde(with = "short_vec")]
|
||||
pub instructions: Vec<CompiledInstruction>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user