Compare commits

...

28 Commits

Author SHA1 Message Date
mergify[bot]
f56b25ac29 chore: bump dashmap from 4.0.2 to 5.1.0 (#23372) (#23521)
* chore: bump dashmap from 4.0.2 to 5.1.0

Bumps [dashmap](https://github.com/xacrimon/dashmap) from 4.0.2 to 5.1.0.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/commits/v5.1.0)

---
updated-dependencies:
- dependency-name: dashmap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* [auto-commit] Update all Cargo lock files

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
(cherry picked from commit 3a0271c113)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 14:05:58 +00:00
mergify[bot]
2137008532 Fix broken doc links in solana-runtime (#23504) (#23515)
(cherry picked from commit ddbf5c782f)

Co-authored-by: Brian Anderson <andersrb@gmail.com>
2022-03-08 01:02:27 +00:00
mergify[bot]
4a4e560299 Fix incorrect nonoverlapping test in sol_memcpy (backport #21007) (#23512)
* Fix incorrect nonoverlapping test in sol_memcpy (#21007)

Thanks!

(cherry picked from commit df2b448993)

# Conflicts:
#	programs/bpf_loader/src/syscalls.rs
#	sdk/program/src/program_stubs.rs
#	sdk/src/feature_set.rs

* resolve conflicts

Co-authored-by: Brian Anderson <andersrb@gmail.com>
Co-authored-by: Jack May <jack@solana.com>
2022-03-07 23:10:54 +00:00
Tyera Eulberg
66f85a0703 Fix backport 2022-03-03 15:12:47 -07:00
Jack May
3bee925967 Resized accounts must be rent exempt 2022-03-03 10:40:46 -08:00
mergify[bot]
44109c0cd4 docs: post merge review for #23286 (#23320)
(cherry picked from commit 6a0d2fcfa7)

Co-authored-by: Trent Nelson <trent@solana.com>
2022-03-02 20:11:03 -07:00
mergify[bot]
83281fe3ff Adds comments related to the public RPC endpoints (#22797) (#23451)
* Adds comments related to the public RPC endpoints

* Update docs/src/cluster/rpc-endpoints.md

Co-authored-by: Michael Vines <mvines@gmail.com>

Co-authored-by: Brian Long <bl@triton.one>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Michael Vines <mvines@gmail.com>
(cherry picked from commit 7dbde2247d)

Co-authored-by: Brian Long <brian.long@fmadata.com>
2022-03-02 19:40:05 +00:00
Michael Vines
2dd5b76986 Restore solana-test-validator informational output
(cherry picked from commit 9ec514f6c5)
2022-03-02 18:53:33 +01:00
mergify[bot]
0e6a849fc7 bumps up crds-shards-bits (#23220) (#23412)
The commit adjust CRDS_SHARDS_BITS up to be in-line with mask_bits in
gossip pull request. This will avoid redundant filtering of irrelevant
crds entries when responding to pull requests.

(cherry picked from commit 1282277126)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2022-03-01 18:20:26 +00:00
mergify[bot]
db9826c93f Improve UX querying rpc for blocks at or before the snapshot from boot (backport #23403) (#23405)
* Improve UX querying rpc for blocks at or before the snapshot from boot (#23403)

* Bump first-available block to first complete block

* Remove obsolete purges in tests (PrimaryIndex toggling no longer in use

* Check first-available block in Rpc check_slot_cleaned_up

(cherry picked from commit 3b5b71ce44)

# Conflicts:
#	ledger/src/blockstore.rs

* Fix conflicts

Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-03-01 17:13:54 +00:00
mergify[bot]
46a02b7b4a Allow sub-rent-exempt-minimum transfers to 1nc1nerator (backport #23382) (#23404)
* Allow sub-rent-exempt-minimum transfers to `1nc1nerator` (#23382)

* Add failing test

* Allow small burns to incinerator

* Use check_id method

(cherry picked from commit 19448ba078)

# Conflicts:
#	runtime/src/account_rent_state.rs

* Fix conflicts

Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-03-01 17:12:47 +00:00
Trent Nelson
83fb17c77b client: expose creating RpcClients with custom RpcSender impls
(cherry picked from commit 6666f23c01)

# Conflicts:
#	client/src/rpc_sender.rs
2022-03-01 08:52:32 -07:00
mergify[bot]
e6f6a8a1b4 docs: resolve svgbob binary (#23399)
(cherry picked from commit 5877e38baa)

Co-authored-by: Trent Nelson <trent@solana.com>
2022-03-01 00:58:29 +00:00
mergify[bot]
6b71570f48 ci: move all formerly-default-queue jobs to solana queue (#23388)
(cherry picked from commit f814c4a082)

# Conflicts:
#	ci/buildkite-pipeline.sh

Co-authored-by: Trent Nelson <trent@solana.com>
2022-02-28 22:28:05 +00:00
mergify[bot]
34631669a4 Updating known validators in the docs for testnet (#23379)
(cherry picked from commit 22d2a40133)

Co-authored-by: tigarcia <tim.m.garcia@gmail.com>
2022-02-28 17:23:29 +00:00
Michael Vines
a400fd4558 Align the solana validators output columns for -ud,-ut, and -um
(cherry picked from commit 87b76aeeb0)
2022-02-27 18:49:15 -08:00
mergify[bot]
f42f094dd0 Prevent new RentPaying state created by paying fees (backport #23358) (#23360)
* Prevent new RentPaying state created by paying fees (#23358)

* Add failing test

* Check fee-payer rent-state change on load

* Add more test cases

* Review comments

(cherry picked from commit 36484f4f08)

# Conflicts:
#	runtime/src/account_rent_state.rs

* Fix conflicts

Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-02-26 21:37:06 +00:00
mergify[bot]
ef9ffffcaa followup safety checks for #23295 (#23340)
(cherry picked from commit 5e0086c1ee)

# Conflicts:
#	runtime/src/builtins.rs

Co-authored-by: Trent Nelson <trent@solana.com>
2022-02-25 08:58:25 +00:00
mergify[bot]
61fea1d2a7 Update derivation path integer sign specification (#23336) (#23339)
Previously, `ACCOUNT` and `CHANGE` were specified as being positive integers, but since both can assume a value of 0 (as in the given example), they should be specified as nonnegative integers

(cherry picked from commit d1f141484e)

Co-authored-by: alnoki <43892045+alnoki@users.noreply.github.com>
2022-02-24 20:11:12 -07:00
Dmitri Makarov
023ab1c427 Update the consumed compute units cost for hashing syscalls
This change prevents zero-cost computation of hash functions on
unbound number of zero-length slices of data.  The cost for each slice
is at least equal to the base cost of a memory operation, but could be
more for longer slices.

(cherry picked from commit 0a3a18744f)
2022-02-24 17:41:22 -08:00
mergify[bot]
f4f0b64af4 Hack fix for ICE as seen in CI (#23306)
(cherry picked from commit c81dd602c4)

Co-authored-by: Trent Nelson <trent@solana.com>
2022-02-24 01:23:34 +00:00
Will Hickey
84c57dd0a8 Bump version to v1.9.10 (#23304) 2022-02-23 11:30:21 -06:00
Justin Starry
450404f800 v1.9: Enforce tx metadata upload to bigtable (#23212)
* Enforce tx metadata upload with static types (#23028)

* resolve conflicts

* fix test
2022-02-23 12:03:17 +08:00
mergify[bot]
8413700a2f docs: clarify spl token account creation handling for exchange integrations (#23288)
(cherry picked from commit 09d064c090)

Co-authored-by: Trent Nelson <trent@solana.com>
2022-02-23 00:47:54 +00:00
mergify[bot]
215c708599 Fix builtin handling on epoch boundaries (backport #23256) (#23273)
* Fix builtin handling on epoch boundaries (#23256)

(cherry picked from commit bcda74f42f)

# Conflicts:
#	runtime/src/bank.rs
#	runtime/src/genesis_utils.rs

* fix conflicts

Co-authored-by: Justin Starry <justin@solana.com>
2022-02-22 16:15:10 +00:00
mergify[bot]
c02c73fa5f Bump rbpf to v0.2.24 (#23263) (#23266)
(cherry picked from commit d0d256ee9a)

Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
2022-02-22 11:46:05 +00:00
Tyera Eulberg
68d846c7a9 Revert "Add simulation detection countermeasure (backport #22880) (#23143)" (#23262)
This reverts commit 0fdbec9735.
2022-02-21 13:38:40 -07:00
Will Hickey
08d6b9850d Bump version to 1.9.9 (#23247) 2022-02-19 21:17:11 -06:00
183 changed files with 3057 additions and 4533 deletions

426
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-account-decoder"
version = "1.9.8"
version = "1.9.10"
description = "Solana account decoder"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -19,9 +19,9 @@ lazy_static = "1.4.0"
serde = "1.0.130"
serde_derive = "1.0.103"
serde_json = "1.0.72"
solana-config-program = { path = "../programs/config", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-config-program = { path = "../programs/config", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
spl-token = { version = "=3.2.0", features = ["no-entrypoint"] }
thiserror = "1.0"
zstd = "0.9.0"

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-accounts-bench"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -11,11 +11,11 @@ publish = false
[dependencies]
log = "0.4.14"
rayon = "1.5.1"
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
clap = "2.33.1"
[package.metadata.docs.rs]

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-accounts-cluster-bench"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -13,25 +13,25 @@ clap = "2.33.1"
log = "0.4.14"
rand = "0.7.0"
rayon = "1.5.1"
solana-account-decoder = { path = "../account-decoder", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.8" }
solana-core = { path = "../core", version = "=1.9.8" }
solana-faucet = { path = "../faucet", version = "=1.9.8" }
solana-gossip = { path = "../gossip", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-net-utils = { path = "../net-utils", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-test-validator = { path = "../test-validator", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-account-decoder = { path = "../account-decoder", version = "=1.9.10" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-client = { path = "../client", version = "=1.9.10" }
solana-core = { path = "../core", version = "=1.9.10" }
solana-faucet = { path = "../faucet", version = "=1.9.10" }
solana-gossip = { path = "../gossip", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-net-utils = { path = "../net-utils", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-test-validator = { path = "../test-validator", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
spl-token = { version = "=3.2.0", features = ["no-entrypoint"] }
[dev-dependencies]
solana-local-cluster = { path = "../local-cluster", version = "=1.9.8" }
solana-local-cluster = { path = "../local-cluster", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-accountsdb-plugin-interface"
description = "The Solana AccountsDb plugin interface."
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -12,8 +12,8 @@ documentation = "https://docs.rs/solana-accountsdb-plugin-interface"
[dependencies]
log = "0.4.11"
thiserror = "1.0.30"
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-accountsdb-plugin-manager"
description = "The Solana AccountsDb plugin manager."
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -17,14 +17,14 @@ log = "0.4.11"
serde = "1.0.130"
serde_derive = "1.0.103"
serde_json = "1.0.72"
solana-accountsdb-plugin-interface = { path = "../accountsdb-plugin-interface", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-rpc = { path = "../rpc", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-accountsdb-plugin-interface = { path = "../accountsdb-plugin-interface", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-rpc = { path = "../rpc", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
thiserror = "1.0.30"
[package.metadata.docs.rs]

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-banking-bench"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -14,17 +14,17 @@ crossbeam-channel = "0.5"
log = "0.4.14"
rand = "0.7.0"
rayon = "1.5.1"
solana-core = { path = "../core", version = "=1.9.8" }
solana-gossip = { path = "../gossip", version = "=1.9.8" }
solana-ledger = { path = "../ledger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-poh = { path = "../poh", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-core = { path = "../core", version = "=1.9.10" }
solana-gossip = { path = "../gossip", version = "=1.9.10" }
solana-ledger = { path = "../ledger", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-perf = { path = "../perf", version = "=1.9.10" }
solana-poh = { path = "../poh", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-banks-client"
version = "1.9.8"
version = "1.9.10"
description = "Solana banks client"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -12,17 +12,17 @@ edition = "2021"
[dependencies]
borsh = "0.9.1"
futures = "0.3"
solana-banks-interface = { path = "../banks-interface", version = "=1.9.8" }
solana-program = { path = "../sdk/program", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-banks-interface = { path = "../banks-interface", version = "=1.9.10" }
solana-program = { path = "../sdk/program", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
tarpc = { version = "0.27.2", features = ["full"] }
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
tokio-serde = { version = "0.8", features = ["bincode"] }
[dev-dependencies]
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-banks-server = { path = "../banks-server", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-banks-server = { path = "../banks-server", version = "=1.9.10" }
[lib]
crate-type = ["lib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-banks-interface"
version = "1.9.8"
version = "1.9.10"
description = "Solana banks RPC interface"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -11,7 +11,7 @@ edition = "2021"
[dependencies]
serde = { version = "1.0.130", features = ["derive"] }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
tarpc = { version = "0.27.2", features = ["full"] }
[lib]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-banks-server"
version = "1.9.8"
version = "1.9.10"
description = "Solana banks server"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -12,10 +12,10 @@ edition = "2021"
[dependencies]
bincode = "1.3.3"
futures = "0.3"
solana-banks-interface = { path = "../banks-interface", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-send-transaction-service = { path = "../send-transaction-service", version = "=1.9.8" }
solana-banks-interface = { path = "../banks-interface", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-send-transaction-service = { path = "../send-transaction-service", version = "=1.9.10" }
tarpc = { version = "0.27.2", features = ["full"] }
tokio = { version = "1", features = ["full"] }
tokio-serde = { version = "0.8", features = ["bincode"] }

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-bench-streamer"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -10,11 +10,11 @@ publish = false
[dependencies]
clap = "2.33.1"
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-net-utils = { path = "../net-utils", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-net-utils = { path = "../net-utils", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-bench-tps"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -14,23 +14,23 @@ log = "0.4.14"
rayon = "1.5.1"
serde_json = "1.0.72"
serde_yaml = "0.8.21"
solana-core = { path = "../core", version = "=1.9.8" }
solana-genesis = { path = "../genesis", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.8" }
solana-faucet = { path = "../faucet", version = "=1.9.8" }
solana-gossip = { path = "../gossip", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-net-utils = { path = "../net-utils", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-core = { path = "../core", version = "=1.9.10" }
solana-genesis = { path = "../genesis", version = "=1.9.10" }
solana-client = { path = "../client", version = "=1.9.10" }
solana-faucet = { path = "../faucet", version = "=1.9.10" }
solana-gossip = { path = "../gossip", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-net-utils = { path = "../net-utils", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
[dev-dependencies]
serial_test = "0.5.1"
solana-local-cluster = { path = "../local-cluster", version = "=1.9.8" }
solana-local-cluster = { path = "../local-cluster", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bloom"
version = "1.9.8"
version = "1.9.10"
description = "Solana bloom filter"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -16,9 +16,9 @@ rand = "0.7.0"
serde = { version = "1.0.133", features = ["rc"] }
rayon = "1.5.1"
serde_derive = "1.0.103"
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.8" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.10" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
log = "0.4.14"
[lib]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bucket-map"
version = "1.9.8"
version = "1.9.10"
description = "solana-bucket-map"
homepage = "https://solana.com/"
documentation = "https://docs.rs/solana-bucket-map"
@@ -12,11 +12,11 @@ edition = "2021"
[dependencies]
rayon = "1.5.0"
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
memmap2 = "0.5.0"
log = { version = "0.4.11" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.10" }
rand = "0.7.0"
fs_extra = "1.2.0"
tempfile = "3.2.0"

View File

@@ -102,6 +102,8 @@ command_step() {
command: "$2"
timeout_in_minutes: $3
artifact_paths: "log-*.txt"
agents:
- "queue=solana"
EOF
}
@@ -168,7 +170,7 @@ all_test_steps() {
timeout_in_minutes: 20
artifact_paths: "bpf-dumps.tar.bz2"
agents:
- "queue=default"
- "queue=solana"
EOF
else
annotate --style info \
@@ -221,6 +223,8 @@ EOF
- command: "scripts/build-downstream-projects.sh"
name: "downstream-projects"
timeout_in_minutes: 30
agents:
- "queue=solana"
EOF
else
annotate --style info \

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-clap-utils"
version = "1.9.8"
version = "1.9.10"
description = "Solana utilities for the clap"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -12,9 +12,9 @@ edition = "2021"
[dependencies]
clap = "2.33.0"
rpassword = "5.0"
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-remote-wallet = { path = "../remote-wallet", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.10" }
solana-remote-wallet = { path = "../remote-wallet", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
thiserror = "1.0.30"
tiny-bip39 = "0.8.2"
uriparse = "0.6.3"

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-cli-config"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-cli-output"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -19,12 +19,12 @@ Inflector = "0.11.4"
indicatif = "0.16.2"
serde = "1.0.130"
serde_json = "1.0.72"
solana-account-decoder = { path = "../account-decoder", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-account-decoder = { path = "../account-decoder", version = "=1.9.10" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-client = { path = "../client", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
spl-memo = { version = "=3.0.1", features = ["no-entrypoint"] }
[package.metadata.docs.rs]

View File

@@ -393,19 +393,19 @@ impl fmt::Display for CliValidators {
) -> fmt::Result {
fn non_zero_or_dash(v: u64, max_v: u64) -> String {
if v == 0 {
"- ".into()
" - ".into()
} else if v == max_v {
format!("{:>8} ( 0)", v)
format!("{:>9} ( 0)", v)
} else if v > max_v.saturating_sub(100) {
format!("{:>8} ({:>3})", v, -(max_v.saturating_sub(v) as isize))
format!("{:>9} ({:>3})", v, -(max_v.saturating_sub(v) as isize))
} else {
format!("{:>8} ", v)
format!("{:>9} ", v)
}
}
writeln!(
f,
"{} {:<44} {:<44} {:>3}% {:>14} {:>14} {:>7} {:>8} {:>7} {}",
"{} {:<44} {:<44} {:>3}% {:>14} {:>14} {:>7} {:>8} {:>7} {:>22} ({:.2}%)",
if validator.delinquent {
WARNING.to_string()
} else {
@@ -419,19 +419,19 @@ impl fmt::Display for CliValidators {
if let Some(skip_rate) = validator.skip_rate {
format!("{:.2}%", skip_rate)
} else {
"- ".to_string()
"- ".to_string()
},
validator.epoch_credits,
validator.version,
if validator.activated_stake > 0 {
format!(
"{} ({:.2}%)",
build_balance_message(validator.activated_stake, use_lamports_unit, true),
100. * validator.activated_stake as f64 / total_active_stake as f64,
)
} else {
"-".into()
},
build_balance_message_with_config(
validator.activated_stake,
&BuildBalanceMessageConfig {
use_lamports_unit,
trim_trailing_zeros: false,
..BuildBalanceMessageConfig::default()
}
),
100. * validator.activated_stake as f64 / total_active_stake as f64,
)
}
@@ -441,13 +441,13 @@ impl fmt::Display for CliValidators {
0
};
let header = style(format!(
"{:padding$} {:<44} {:<38} {} {} {} {} {} {} {}",
"{:padding$} {:<44} {:<38} {} {} {} {} {} {} {}",
" ",
"Identity",
"Vote Account",
"Commission",
"Last Vote ",
"Root Slot ",
"Last Vote ",
"Root Slot ",
"Skip Rate",
"Credits",
"Version",

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-cli"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -26,29 +26,29 @@ semver = "1.0.4"
serde = "1.0.130"
serde_derive = "1.0.103"
serde_json = "1.0.72"
solana-account-decoder = { path = "../account-decoder", version = "=1.9.8" }
solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-cli-config = { path = "../cli-config", version = "=1.9.8" }
solana-cli-output = { path = "../cli-output", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.8" }
solana-config-program = { path = "../programs/config", version = "=1.9.8" }
solana-faucet = { path = "../faucet", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.8" }
solana_rbpf = "=0.2.23"
solana-remote-wallet = { path = "../remote-wallet", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-account-decoder = { path = "../account-decoder", version = "=1.9.10" }
solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.9.10" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-cli-config = { path = "../cli-config", version = "=1.9.10" }
solana-cli-output = { path = "../cli-output", version = "=1.9.10" }
solana-client = { path = "../client", version = "=1.9.10" }
solana-config-program = { path = "../programs/config", version = "=1.9.10" }
solana-faucet = { path = "../faucet", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.10" }
solana_rbpf = "=0.2.24"
solana-remote-wallet = { path = "../remote-wallet", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
spl-memo = { version = "=3.0.1", features = ["no-entrypoint"] }
thiserror = "1.0.30"
tiny-bip39 = "0.8.2"
[dev-dependencies]
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-test-validator = { path = "../test-validator", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-test-validator = { path = "../test-validator", version = "=1.9.10" }
tempfile = "3.2.0"
[[bin]]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-client-test"
version = "1.9.8"
version = "1.9.10"
description = "Solana RPC Test"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -12,24 +12,24 @@ edition = "2021"
[dependencies]
serde_json = "1.0.72"
serial_test = "0.5.1"
solana-client = { path = "../client", version = "=1.9.8" }
solana-ledger = { path = "../ledger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-merkle-tree = { path = "../merkle-tree", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.8" }
solana-rpc = { path = "../rpc", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-test-validator = { path = "../test-validator", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.10" }
solana-ledger = { path = "../ledger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-merkle-tree = { path = "../merkle-tree", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-perf = { path = "../perf", version = "=1.9.10" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.10" }
solana-rpc = { path = "../rpc", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-test-validator = { path = "../test-validator", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
systemstat = "0.1.10"
[dev-dependencies]
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -8,7 +8,7 @@ use {
RpcAccountInfoConfig, RpcBlockSubscribeConfig, RpcBlockSubscribeFilter,
RpcProgramAccountsConfig,
},
rpc_response::{RpcBlockUpdate, SlotInfo},
rpc_response::SlotInfo,
},
solana_ledger::{blockstore::Blockstore, get_tmp_ledger_path},
solana_rpc::{
@@ -34,7 +34,9 @@ use {
},
solana_streamer::socket::SocketAddrSpace,
solana_test_validator::TestValidator,
solana_transaction_status::{TransactionDetails, UiTransactionEncoding},
solana_transaction_status::{
ConfirmedBlockWithOptionalMetadata, TransactionDetails, UiTransactionEncoding,
},
std::{
collections::HashSet,
net::{IpAddr, SocketAddr},
@@ -212,6 +214,7 @@ fn test_block_subscription() {
..
} = create_genesis_config(10_000);
let bank = Bank::new_for_tests(&genesis_config);
let rent_exempt_amount = bank.get_minimum_balance_for_rent_exemption(0);
let bank_forks = Arc::new(RwLock::new(BankForks::new(bank)));
// setup Blockstore
@@ -225,6 +228,8 @@ fn test_block_subscription() {
let keypair2 = Keypair::new();
let keypair3 = Keypair::new();
let max_complete_transaction_status_slot = Arc::new(AtomicU64::new(blockstore.max_root()));
bank.transfer(rent_exempt_amount, &alice, &keypair2.pubkey())
.unwrap();
let _confirmed_block_signatures = create_test_transactions_and_populate_blockstore(
vec![&alice, &keypair1, &keypair2, &keypair3],
0,
@@ -276,22 +281,12 @@ fn test_block_subscription() {
match maybe_actual {
Ok(actual) => {
let complete_block = blockstore.get_complete_block(slot, false).unwrap();
let block = complete_block.clone().configure(
let block = ConfirmedBlockWithOptionalMetadata::from(complete_block).configure(
UiTransactionEncoding::Json,
TransactionDetails::Signatures,
false,
);
let expected = RpcBlockUpdate {
slot,
block: Some(block),
err: None,
};
let block = complete_block.configure(
UiTransactionEncoding::Json,
TransactionDetails::Signatures,
false,
);
assert_eq!(actual.value.slot, expected.slot);
assert_eq!(actual.value.slot, slot);
assert!(block.eq(&actual.value.block.unwrap()));
}
Err(e) => {

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-client"
version = "1.9.8"
version = "1.9.10"
description = "Solana Client"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -23,15 +23,15 @@ semver = "1.0.4"
serde = "1.0.130"
serde_derive = "1.0.103"
serde_json = "1.0.72"
solana-account-decoder = { path = "../account-decoder", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-faucet = { path = "../faucet", version = "=1.9.8" }
solana-net-utils = { path = "../net-utils", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-account-decoder = { path = "../account-decoder", version = "=1.9.10" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-faucet = { path = "../faucet", version = "=1.9.10" }
solana-net-utils = { path = "../net-utils", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
tungstenite = { version = "0.16.0", features = ["rustls-tls-webpki-roots"] }
@@ -40,7 +40,7 @@ url = "2.2.2"
[dev-dependencies]
assert_matches = "1.5.0"
jsonrpc-http-server = "18.0.0"
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -163,7 +163,7 @@ impl RpcClient {
/// `RpcSender`. Most applications should use one of the other constructors,
/// such as [`new`] and [`new_mock`], which create an `RpcClient`
/// encapsulating an [`HttpSender`] and [`MockSender`] respectively.
fn new_sender<T: RpcSender + Send + Sync + 'static>(
pub fn new_sender<T: RpcSender + Send + Sync + 'static>(
sender: T,
config: RpcClientConfig,
) -> Self {

View File

@@ -1,7 +1,7 @@
[package]
name = "solana-core"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
homepage = "https://solana.com/"
documentation = "https://docs.rs/solana-core"
readme = "../README.md"
@@ -20,7 +20,7 @@ bincode = "1.3.3"
bs58 = "0.4.0"
chrono = { version = "0.4.11", features = ["serde"] }
crossbeam-channel = "0.5"
dashmap = { version = "4.0.2", features = ["rayon", "raw-api"] }
dashmap = { version = "5.1.0", features = ["rayon", "raw-api"] }
etcd-client = { version = "0.8.1", features = ["tls"]}
fs_extra = "1.2.0"
histogram = "0.6.9"
@@ -34,32 +34,32 @@ rayon = "1.5.1"
retain_mut = "0.1.5"
serde = "1.0.130"
serde_derive = "1.0.103"
solana-accountsdb-plugin-manager = { path = "../accountsdb-plugin-manager", version = "=1.9.8" }
solana-bloom = { path = "../bloom", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.8" }
solana-entry = { path = "../entry", version = "=1.9.8" }
solana-gossip = { path = "../gossip", version = "=1.9.8" }
solana-ledger = { path = "../ledger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-net-utils = { path = "../net-utils", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-poh = { path = "../poh", version = "=1.9.8" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.8" }
solana-rpc = { path = "../rpc", version = "=1.9.8" }
solana-replica-lib = { path = "../replica-lib", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.8" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.8" }
solana-send-transaction-service = { path = "../send-transaction-service", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-accountsdb-plugin-manager = { path = "../accountsdb-plugin-manager", version = "=1.9.10" }
solana-bloom = { path = "../bloom", version = "=1.9.10" }
solana-client = { path = "../client", version = "=1.9.10" }
solana-entry = { path = "../entry", version = "=1.9.10" }
solana-gossip = { path = "../gossip", version = "=1.9.10" }
solana-ledger = { path = "../ledger", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-net-utils = { path = "../net-utils", version = "=1.9.10" }
solana-perf = { path = "../perf", version = "=1.9.10" }
solana-poh = { path = "../poh", version = "=1.9.10" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.10" }
solana-rpc = { path = "../rpc", version = "=1.9.10" }
solana-replica-lib = { path = "../replica-lib", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.10" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.10" }
solana-send-transaction-service = { path = "../send-transaction-service", version = "=1.9.10" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
tempfile = "3.2.0"
thiserror = "1.0"
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.8" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.10" }
sys-info = "0.9.1"
tokio = { version = "1", features = ["full"] }
trees = "0.4.2"
@@ -73,9 +73,9 @@ matches = "0.1.9"
reqwest = { version = "0.11.6", default-features = false, features = ["blocking", "rustls-tls", "json"] }
serde_json = "1.0.72"
serial_test = "0.5.1"
solana-program-runtime = { path = "../program-runtime", version = "=1.9.8" }
solana-stake-program = { path = "../programs/stake", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.10" }
solana-stake-program = { path = "../programs/stake", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
static_assertions = "1.1.0"
systemstat = "0.1.10"

View File

@@ -2067,7 +2067,7 @@ mod tests {
transaction::{Transaction, TransactionError},
},
solana_streamer::{recvmmsg::recv_mmsg, socket::SocketAddrSpace},
solana_transaction_status::TransactionWithStatusMeta,
solana_transaction_status::TransactionWithMetadata,
solana_vote_program::vote_transaction,
std::{
net::SocketAddr,
@@ -3223,39 +3223,23 @@ mod tests {
genesis_config.rent.lamports_per_byte_year = 50;
genesis_config.rent.exemption_threshold = 2.0;
let bank = Arc::new(Bank::new_no_wallclock_throttle_for_tests(&genesis_config));
let rent_exempt_minimum = bank.get_minimum_balance_for_rent_exemption(0);
let pubkey = solana_sdk::pubkey::new_rand();
let pubkey1 = solana_sdk::pubkey::new_rand();
let keypair1 = Keypair::new();
let rent_exempt_amount = bank.get_minimum_balance_for_rent_exemption(0);
let success_tx = system_transaction::transfer(
&mint_keypair,
&pubkey,
rent_exempt_amount,
genesis_config.hash(),
);
let success_tx =
system_transaction::transfer(&mint_keypair, &pubkey, 0, genesis_config.hash());
let success_signature = success_tx.signatures[0];
let entry_1 = next_entry(&genesis_config.hash(), 1, vec![success_tx.clone()]);
let ix_error_tx = system_transaction::transfer(
&keypair1,
&pubkey1,
2 * rent_exempt_amount,
genesis_config.hash(),
);
let ix_error_tx =
system_transaction::transfer(&keypair1, &pubkey1, std::u64::MAX, genesis_config.hash());
let ix_error_signature = ix_error_tx.signatures[0];
let entry_2 = next_entry(&entry_1.hash, 1, vec![ix_error_tx.clone()]);
let fail_tx = system_transaction::transfer(
&mint_keypair,
&pubkey1,
rent_exempt_amount,
genesis_config.hash(),
);
let entry_3 = next_entry(&entry_2.hash, 1, vec![fail_tx.clone()]);
let entries = vec![entry_1, entry_2, entry_3];
let entries = vec![entry_1, entry_2];
let transactions = sanitize_transactions(vec![success_tx, ix_error_tx, fail_tx]);
bank.transfer(rent_exempt_amount, &mint_keypair, &keypair1.pubkey())
let transactions = sanitize_transactions(vec![success_tx, ix_error_tx]);
bank.transfer(rent_exempt_minimum, &mint_keypair, &keypair1.pubkey())
.unwrap();
let ledger_path = get_tmp_ledger_path_auto_delete!();
@@ -3314,27 +3298,24 @@ mod tests {
transaction_status_service.join().unwrap();
let confirmed_block = blockstore.get_rooted_block(bank.slot(), false).unwrap();
assert_eq!(confirmed_block.transactions.len(), 3);
for TransactionWithStatusMeta { transaction, meta } in
confirmed_block.transactions.into_iter()
{
if transaction.signatures[0] == success_signature {
let meta = meta.unwrap();
assert_eq!(meta.status, Ok(()));
} else if transaction.signatures[0] == ix_error_signature {
let meta = meta.unwrap();
assert_eq!(
meta.status,
Err(TransactionError::InstructionError(
0,
InstructionError::Custom(1)
))
);
} else {
assert_eq!(meta, None);
}
}
let actual_tx_results: Vec<_> = confirmed_block
.transactions
.into_iter()
.map(|TransactionWithMetadata { transaction, meta }| {
(transaction.signatures[0], meta.status)
})
.collect();
let expected_tx_results = vec![
(success_signature, Ok(())),
(
ix_error_signature,
Err(TransactionError::InstructionError(
0,
InstructionError::Custom(1),
)),
),
];
assert_eq!(actual_tx_results, expected_tx_results);
poh_recorder
.lock()

View File

@@ -1516,10 +1516,7 @@ impl ReplayStage {
root_slot,
my_pubkey,
rpc_subscriptions,
NewBankOptions {
vote_only_bank,
simulation_bank: false,
},
NewBankOptions { vote_only_bank },
);
let tpu_bank = bank_forks.write().unwrap().insert(tpu_bank);
@@ -3024,7 +3021,7 @@ pub mod tests {
transaction::TransactionError,
},
solana_streamer::socket::SocketAddrSpace,
solana_transaction_status::TransactionWithStatusMeta,
solana_transaction_status::TransactionWithMetadata,
solana_vote_program::{
vote_state::{VoteState, VoteStateVersions},
vote_transaction,
@@ -3874,36 +3871,35 @@ pub mod tests {
let bank1 = Arc::new(Bank::new_from_parent(&bank0, &Pubkey::default(), 1));
let slot = bank1.slot();
let signatures = create_test_transactions_and_populate_blockstore(
let mut test_signatures_iter = create_test_transactions_and_populate_blockstore(
vec![&mint_keypair, &keypair1, &keypair2, &keypair3],
bank0.slot(),
bank1,
blockstore.clone(),
Arc::new(AtomicU64::default()),
);
)
.into_iter();
let confirmed_block = blockstore.get_rooted_block(slot, false).unwrap();
assert_eq!(confirmed_block.transactions.len(), 3);
for TransactionWithStatusMeta { transaction, meta } in
confirmed_block.transactions.into_iter()
{
if transaction.signatures[0] == signatures[0] {
let meta = meta.unwrap();
assert_eq!(meta.status, Ok(()));
} else if transaction.signatures[0] == signatures[1] {
let meta = meta.unwrap();
assert_eq!(
meta.status,
Err(TransactionError::InstructionError(
0,
InstructionError::Custom(1)
))
);
} else {
assert_eq!(meta, None);
}
}
let actual_tx_results: Vec<_> = confirmed_block
.transactions
.into_iter()
.map(|TransactionWithMetadata { transaction, meta }| {
(transaction.signatures[0], meta.status)
})
.collect();
let expected_tx_results = vec![
(test_signatures_iter.next().unwrap(), Ok(())),
(
test_signatures_iter.next().unwrap(),
Err(TransactionError::InstructionError(
0,
InstructionError::Custom(1),
)),
),
];
assert_eq!(actual_tx_results, expected_tx_results);
assert!(test_signatures_iter.next().is_none());
}
Blockstore::destroy(&ledger_path).unwrap();
}

View File

@@ -8,11 +8,17 @@ set -e
cd "$(dirname "$0")"
output_dir=static/img
svgbob_cli="$(command -v svgbob_cli || true)"
if [[ -z "$svgbob_cli" ]]; then
svgbob_cli="$(command -v svgbob || true)"
[[ -n "$svgbob_cli" ]] || ( echo "svgbob_cli binary not found" && exit 1 )
fi
mkdir -p "$output_dir"
while read -r bob_file; do
out_file=$(basename "${bob_file%.*}".svg)
svgbob "$bob_file" --output "$output_dir/$out_file"
"$svgbob_cli" "$bob_file" --output "$output_dir/$out_file"
done < <(find art/*.bob)
while read -r msc_file; do

View File

@@ -36,7 +36,7 @@ public RPC endpoints currently available and recommended for each public cluster
## Mainnet Beta
#### Endpoints
#### Endpoints*
- `https://api.mainnet-beta.solana.com` - Solana-hosted api node cluster, backed by a load balancer; rate-limited
- `https://solana-api.projectserum.com` - Project Serum-hosted api node
@@ -48,3 +48,17 @@ public RPC endpoints currently available and recommended for each public cluster
- Maximum concurrent connections per IP: 40
- Maximum connection rate per 10 seconds per IP: 40
- Maximum amount of data per 30 second: 100 MB
*The public RPC endpoints are not intended for production applications. Please
use dedicated/private RPC servers when you launch your application, drop NFTs,
etc. The public services are subject to abuse and rate limits may change
without prior notice. Likewise, high-traffic websites may be blocked without
prior notice.
## Common HTTP Error Codes
- 403 -- Your IP address or website has been blocked. It is time to run your own RPC server(s) or find a private service.
- 429 -- Your IP address is exceeding the rate limits. Slow down! Use the
[Retry-After](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After)
HTTP response header to determine how long to wait before making another
request.

View File

@@ -97,8 +97,9 @@ $ solana-validator \
--identity validator-keypair.json \
--vote-account vote-account-keypair.json \
--known-validator 5D1fNXzvv5NjV1ysLjirC4WY92RNsVH18vjmcszZd8on \
--known-validator 7XSY3MrYnK8vq693Rju17bbPkCN3Z7KvvfvJx4kdrsSY \
--known-validator dDzy5SR3AXdYWVqbDEkVFdvSPCtS9ihF5kJkHCtXoFs \
--known-validator Ft5fbkqNa76vnsjYNwjDZUXoTWpP7VYm3mtsaQckQADN \
--known-validator eoKpUABi59aT4rR9HGS3LcMecfut9x7zJyodWWP43YQ \
--known-validator 9QxCLckBiJc783jnMvXZubK4wH86Eqqvashtrwvcsgkv \
--only-known-rpc \
--ledger ledger \
@@ -116,7 +117,9 @@ The identities of the
[`--known-validator`s](running-validator/validator-start.md#known-validators) are:
- `5D1fNXzvv5NjV1ysLjirC4WY92RNsVH18vjmcszZd8on` - Solana Labs (testnet.solana.com)
- `dDzy5SR3AXdYWVqbDEkVFdvSPCtS9ihF5kJkHCtXoFs` - MonkeDAO
- `Ft5fbkqNa76vnsjYNwjDZUXoTWpP7VYm3mtsaQckQADN` - Certus One
- `eoKpUABi59aT4rR9HGS3LcMecfut9x7zJyodWWP43YQ` - SerGo
- `9QxCLckBiJc783jnMvXZubK4wH86Eqqvashtrwvcsgkv` - Algo|Stake
## Mainnet Beta

View File

@@ -2949,7 +2949,7 @@ curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d '
Result:
```json
{"jsonrpc":"2.0","result":{"solana-core": "1.9.8"},"id":1}
{"jsonrpc":"2.0","result":{"solana-core": "1.9.10"},"id":1}
```
### getVoteAccounts

View File

@@ -721,6 +721,10 @@ must then be used to determine the effective balance change. These fields will
identify the token mint and account owner (main wallet address) of the affected
account.
Note that if a receiving account is created during the transaction, it will have no
`preTokenBalance` entry as there is no existing account state. In this
case, the initial balance can be assumed to be zero.
### Withdrawing
The withdrawal address a user provides must be the that of their SOL wallet.

View File

@@ -37,7 +37,7 @@ usb://<MANUFACTURER>[/<WALLET_ID>][?key=<DERIVATION_PATH>]
`DERVIATION_PATH` is used to navigate to Solana keys within your hardware wallet.
The path has the form `<ACCOUNT>[/<CHANGE>]`, where each `ACCOUNT` and `CHANGE`
are positive integers.
are nonnegative integers.
For example, a fully qualified URL for a Ledger device might be:

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-dos"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -13,15 +13,15 @@ bincode = "1.3.3"
clap = "2.33.1"
log = "0.4.14"
rand = "0.7.0"
solana-core = { path = "../core", version = "=1.9.8" }
solana-gossip = { path = "../gossip", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-net-utils = { path = "../net-utils", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.8" }
solana-core = { path = "../core", version = "=1.9.10" }
solana-gossip = { path = "../gossip", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-net-utils = { path = "../net-utils", version = "=1.9.10" }
solana-perf = { path = "../perf", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
solana-client = { path = "../client", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-download-utils"
version = "1.9.8"
version = "1.9.10"
description = "Solana Download Utils"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -14,8 +14,8 @@ console = "0.15.0"
indicatif = "0.16.2"
log = "0.4.14"
reqwest = { version = "0.11.6", default-features = false, features = ["blocking", "rustls-tls", "json"] }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
[lib]
crate-type = ["lib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-entry"
version = "1.9.8"
version = "1.9.10"
description = "Solana Entry"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -16,17 +16,17 @@ log = "0.4.11"
rand = "0.7.0"
rayon = "1.5.1"
serde = "1.0.130"
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-merkle-tree = { path = "../merkle-tree", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-merkle-tree = { path = "../merkle-tree", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-perf = { path = "../perf", version = "=1.9.10" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
bincode = "1.3.3"
[dev-dependencies]
matches = "0.1.9"
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
[lib]
crate-type = ["lib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-faucet"
version = "1.9.8"
version = "1.9.10"
description = "Solana Faucet"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -16,12 +16,12 @@ clap = "2.33"
log = "0.4.14"
serde = "1.0.130"
serde_derive = "1.0.103"
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-cli-config = { path = "../cli-config", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-cli-config = { path = "../cli-config", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
spl-memo = { version = "=3.0.1", features = ["no-entrypoint"] }
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-frozen-abi"
version = "1.9.8"
version = "1.9.10"
description = "Solana Frozen ABI"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -16,11 +16,11 @@ log = "0.4.14"
serde = "1.0.130"
serde_derive = "1.0.103"
sha2 = "0.9.8"
solana-frozen-abi-macro = { path = "macro", version = "=1.9.8" }
solana-frozen-abi-macro = { path = "macro", version = "=1.9.10" }
thiserror = "1.0"
[target.'cfg(not(target_arch = "bpf"))'.dependencies]
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
generic-array = { version = "0.14.4", default-features = false, features = ["serde", "more_lengths"]}
memmap2 = "0.5.0"

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-frozen-abi-macro"
version = "1.9.8"
version = "1.9.10"
description = "Solana Frozen ABI Macro"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-genesis-utils"
version = "1.9.8"
version = "1.9.10"
description = "Solana Genesis Utils"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -10,9 +10,9 @@ documentation = "https://docs.rs/solana-download-utils"
edition = "2021"
[dependencies]
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-download-utils = { path = "../download-utils", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-download-utils = { path = "../download-utils", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
[lib]
crate-type = ["lib"]

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-genesis"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -15,16 +15,16 @@ clap = "2.33.1"
serde = "1.0.130"
serde_json = "1.0.72"
serde_yaml = "0.8.21"
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-cli-config = { path = "../cli-config", version = "=1.9.8" }
solana-entry = { path = "../entry", version = "=1.9.8" }
solana-ledger = { path = "../ledger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-stake-program = { path = "../programs/stake", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-cli-config = { path = "../cli-config", version = "=1.9.10" }
solana-entry = { path = "../entry", version = "=1.9.10" }
solana-ledger = { path = "../ledger", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-stake-program = { path = "../programs/stake", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
tempfile = "3.2.0"
[[bin]]

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-gossip"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -26,28 +26,28 @@ rayon = "1.5.1"
serde = "1.0.130"
serde_bytes = "0.11"
serde_derive = "1.0.103"
solana-bloom = { path = "../bloom", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.8" }
solana-entry = { path = "../entry", version = "=1.9.8" }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.8" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.8" }
solana-ledger = { path = "../ledger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-net-utils = { path = "../net-utils", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-bloom = { path = "../bloom", version = "=1.9.10" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-client = { path = "../client", version = "=1.9.10" }
solana-entry = { path = "../entry", version = "=1.9.10" }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.10" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.10" }
solana-ledger = { path = "../ledger", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-net-utils = { path = "../net-utils", version = "=1.9.10" }
solana-perf = { path = "../perf", version = "=1.9.10" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
thiserror = "1.0"
[dev-dependencies]
num_cpus = "1.13.0"
num_cpus = "1.13.1"
serial_test = "0.5.1"
[build-dependencies]

View File

@@ -52,7 +52,7 @@ use {
},
};
const CRDS_SHARDS_BITS: u32 = 8;
const CRDS_SHARDS_BITS: u32 = 12;
// Number of vote slots to track in an lru-cache for metrics.
const VOTE_SLOTS_METRICS_CAP: usize = 100;

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-install"
description = "The solana cluster software installer"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -24,12 +24,12 @@ nix = "0.23.0"
reqwest = { version = "0.11.6", default-features = false, features = ["blocking", "rustls-tls", "json"] }
serde = { version = "1.0.130", features = ["derive"] }
serde_yaml = "0.8.21"
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.8" }
solana-config-program = { path = "../programs/config", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-client = { path = "../client", version = "=1.9.10" }
solana-config-program = { path = "../programs/config", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
semver = "1.0.4"
tar = "0.4.37"
tempfile = "3.2.0"

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-keygen"
version = "1.9.8"
version = "1.9.10"
description = "Solana key generation utility"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -13,12 +13,12 @@ edition = "2021"
bs58 = "0.4.0"
clap = "2.33"
dirs-next = "2.0.0"
num_cpus = "1.13.0"
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-cli-config = { path = "../cli-config", version = "=1.9.8" }
solana-remote-wallet = { path = "../remote-wallet", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
num_cpus = "1.13.1"
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-cli-config = { path = "../cli-config", version = "=1.9.10" }
solana-remote-wallet = { path = "../remote-wallet", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
tiny-bip39 = "0.8.2"
[[bin]]

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-ledger-tool"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -14,7 +14,7 @@ bs58 = "0.4.0"
bytecount = "0.6.2"
clap = "2.33.1"
csv = "1.1.6"
dashmap = "4.0.2"
dashmap = "5.1.0"
histogram = "*"
itertools = "0.10.1"
log = { version = "0.4.14" }
@@ -22,20 +22,20 @@ regex = "1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.72"
serde_yaml = "0.8.21"
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-cli-output = { path = "../cli-output", version = "=1.9.8" }
solana-core = { path = "../core", version = "=1.9.8" }
solana-entry = { path = "../entry", version = "=1.9.8" }
solana-ledger = { path = "../ledger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-stake-program = { path = "../programs/stake", version = "=1.9.8" }
solana-storage-bigtable = { path = "../storage-bigtable", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-cli-output = { path = "../cli-output", version = "=1.9.10" }
solana-core = { path = "../core", version = "=1.9.10" }
solana-entry = { path = "../entry", version = "=1.9.10" }
solana-ledger = { path = "../ledger", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-stake-program = { path = "../programs/stake", version = "=1.9.10" }
solana-storage-bigtable = { path = "../storage-bigtable", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
tokio = { version = "1", features = ["full"] }
[target.'cfg(not(target_env = "msvc"))'.dependencies]

View File

@@ -16,7 +16,9 @@ use {
},
solana_ledger::{blockstore::Blockstore, blockstore_db::AccessType},
solana_sdk::{clock::Slot, pubkey::Pubkey, signature::Signature},
solana_transaction_status::{ConfirmedBlock, EncodedTransaction, UiTransactionEncoding},
solana_transaction_status::{
ConfirmedBlockWithOptionalMetadata, EncodedTransaction, UiTransactionEncoding,
},
std::{
collections::HashSet,
path::Path,
@@ -30,7 +32,6 @@ async fn upload(
blockstore: Blockstore,
starting_slot: Slot,
ending_slot: Option<Slot>,
allow_missing_metadata: bool,
force_reupload: bool,
) -> Result<(), Box<dyn std::error::Error>> {
let bigtable = solana_storage_bigtable::LedgerStorage::new(false, None, None)
@@ -42,7 +43,6 @@ async fn upload(
bigtable,
starting_slot,
ending_slot,
allow_missing_metadata,
force_reupload,
Arc::new(AtomicBool::new(false)),
)
@@ -194,7 +194,7 @@ pub async fn transaction_history(
) -> Result<(), Box<dyn std::error::Error>> {
let bigtable = solana_storage_bigtable::LedgerStorage::new(true, None, None).await?;
let mut loaded_block: Option<(Slot, ConfirmedBlock)> = None;
let mut loaded_block: Option<(Slot, ConfirmedBlockWithOptionalMetadata)> = None;
while limit > 0 {
let results = bigtable
.get_confirmed_signatures_for_address(
@@ -306,12 +306,6 @@ impl BigTableSubCommand for App<'_, '_> {
.index(2)
.help("Stop uploading at this slot [default: last available slot]"),
)
.arg(
Arg::with_name("allow_missing_metadata")
.long("allow-missing-metadata")
.takes_value(false)
.help("Don't panic if transaction metadata is missing"),
)
.arg(
Arg::with_name("force_reupload")
.long("force")
@@ -506,7 +500,6 @@ pub fn bigtable_process_command(ledger_path: &Path, matches: &ArgMatches<'_>) {
("upload", Some(arg_matches)) => {
let starting_slot = value_t!(arg_matches, "starting_slot", Slot).unwrap_or(0);
let ending_slot = value_t!(arg_matches, "ending_slot", Slot).ok();
let allow_missing_metadata = arg_matches.is_present("allow_missing_metadata");
let force_reupload = arg_matches.is_present("force_reupload");
let blockstore = crate::open_blockstore(
&canonicalize_ledger_path(ledger_path),
@@ -518,7 +511,6 @@ pub fn bigtable_process_command(ledger_path: &Path, matches: &ArgMatches<'_>) {
blockstore,
starting_slot,
ending_slot,
allow_missing_metadata,
force_reupload,
))
}

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-ledger"
version = "1.9.8"
version = "1.9.10"
description = "Solana ledger"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -23,7 +23,7 @@ libc = "0.2.108"
log = { version = "0.4.14" }
num-derive = "0.3"
num-traits = "0.2"
num_cpus = "1.13.0"
num_cpus = "1.13.1"
prost = "0.9.0"
rand = "0.7.0"
rand_chacha = "0.2.2"
@@ -31,22 +31,22 @@ rayon = "1.5.1"
serde = "1.0.130"
serde_bytes = "0.11.5"
sha2 = "0.9.8"
solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.9.8" }
solana-entry = { path = "../entry", version = "=1.9.8" }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.8" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.8" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.8" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-storage-bigtable = { path = "../storage-bigtable", version = "=1.9.8" }
solana-storage-proto = { path = "../storage-proto", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.9.10" }
solana-entry = { path = "../entry", version = "=1.9.10" }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.10" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.10" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-perf = { path = "../perf", version = "=1.9.10" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.10" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-storage-bigtable = { path = "../storage-bigtable", version = "=1.9.10" }
solana-storage-proto = { path = "../storage-proto", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
tempfile = "3.2.0"
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
@@ -64,7 +64,7 @@ features = ["lz4"]
[dev-dependencies]
assert_matches = "1.5.0"
matches = "0.1.9"
solana-account-decoder = { path = "../account-decoder", version = "=1.9.8" }
solana-account-decoder = { path = "../account-decoder", version = "=1.9.10" }
[build-dependencies]
rustc_version = "0.4"

View File

@@ -25,7 +25,6 @@ pub async fn upload_confirmed_blocks(
bigtable: solana_storage_bigtable::LedgerStorage,
starting_slot: Slot,
ending_slot: Option<Slot>,
allow_missing_metadata: bool,
force_reupload: bool,
exit: Arc<AtomicBool>,
) -> Result<(), Box<dyn std::error::Error>> {
@@ -186,20 +185,7 @@ pub async fn upload_confirmed_blocks(
num_blocks -= 1;
None
}
Some(confirmed_block) => {
if confirmed_block
.transactions
.iter()
.any(|transaction| transaction.meta.is_none())
{
if allow_missing_metadata {
info!("Transaction metadata missing from slot {}", slot);
} else {
panic!("Transaction metadata missing from slot {}", slot);
}
}
Some(bigtable.upload_confirmed_block(slot, confirmed_block))
}
Some(confirmed_block) => Some(bigtable.upload_confirmed_block(slot, confirmed_block)),
});
for result in futures::future::join_all(uploads).await {

View File

@@ -72,7 +72,6 @@ impl BigTableUploadService {
bigtable_ledger_storage.clone(),
start_slot,
Some(end_slot),
true,
false,
exit.clone(),
));

View File

@@ -42,7 +42,7 @@ use {
solana_storage_proto::{StoredExtendedRewards, StoredTransactionStatusMeta},
solana_transaction_status::{
ConfirmedBlock, ConfirmedTransaction, ConfirmedTransactionStatusWithSignature, Rewards,
TransactionStatusMeta, TransactionWithStatusMeta,
TransactionStatusMeta, TransactionWithMetadata,
},
std::{
borrow::Cow,
@@ -1839,9 +1839,13 @@ impl Blockstore {
self.block_height_cf.put(slot, &block_height)
}
/// The first complete block that is available in the Blockstore ledger
pub fn get_first_available_block(&self) -> Result<Slot> {
let mut root_iterator = self.rooted_slot_iterator(self.lowest_slot())?;
Ok(root_iterator.next().unwrap_or_default())
// The block at root-index 0 cannot be complete, because it is missing its parent
// blockhash. A parent blockhash must be calculated from the entries of the previous block.
// Therefore, the first available complete block is that at root-index 1.
Ok(root_iterator.nth(1).unwrap_or_default())
}
pub fn get_rooted_block(
@@ -1945,18 +1949,17 @@ impl Blockstore {
&self,
slot: Slot,
iterator: impl Iterator<Item = VersionedTransaction>,
) -> Result<Vec<TransactionWithStatusMeta>> {
) -> Result<Vec<TransactionWithMetadata>> {
iterator
.map(|versioned_tx| {
// TODO: add support for versioned transactions
if let Some(transaction) = versioned_tx.into_legacy_transaction() {
let signature = transaction.signatures[0];
Ok(TransactionWithStatusMeta {
Ok(TransactionWithMetadata {
transaction,
meta: self
.read_transaction_status((signature, slot))
.ok()
.flatten(),
.read_transaction_status((signature, slot))?
.ok_or(BlockstoreError::MissingTransactionMetadata)?,
})
} else {
Err(BlockstoreError::UnsupportedTransactionVersion)
@@ -2243,7 +2246,7 @@ impl Blockstore {
signature: Signature,
confirmed_unrooted_slots: &[Slot],
) -> Result<Option<ConfirmedTransaction>> {
if let Some((slot, status)) =
if let Some((slot, meta)) =
self.get_transaction_status(signature, confirmed_unrooted_slots)?
{
let transaction = self
@@ -2258,10 +2261,7 @@ impl Blockstore {
let block_time = self.get_block_time(slot)?;
Ok(Some(ConfirmedTransaction {
slot,
transaction: TransactionWithStatusMeta {
transaction,
meta: Some(status),
},
transaction: TransactionWithMetadata { transaction, meta },
block_time,
}))
} else {
@@ -6052,7 +6052,7 @@ pub mod tests {
.put_meta_bytes(slot - 1, &serialize(&parent_meta).unwrap())
.unwrap();
let expected_transactions: Vec<TransactionWithStatusMeta> = entries
let expected_transactions: Vec<TransactionWithMetadata> = entries
.iter()
.cloned()
.filter(|entry| !entry.is_tick())
@@ -6118,9 +6118,9 @@ pub mod tests {
.transaction_status_cf
.put_protobuf((0, signature, slot + 2), &status)
.unwrap();
TransactionWithStatusMeta {
TransactionWithMetadata {
transaction,
meta: Some(TransactionStatusMeta {
meta: TransactionStatusMeta {
status: Ok(()),
fee: 42,
pre_balances,
@@ -6130,21 +6130,22 @@ pub mod tests {
pre_token_balances: Some(vec![]),
post_token_balances: Some(vec![]),
rewards: Some(vec![]),
}),
},
}
})
.collect();
// Even if marked as root, a slot that is empty of entries should return an error
let confirmed_block_err = blockstore.get_rooted_block(slot - 1, true).unwrap_err();
assert_matches!(confirmed_block_err, BlockstoreError::SlotUnavailable);
assert_matches!(
blockstore.get_rooted_block(slot - 1, true),
Err(BlockstoreError::SlotUnavailable)
);
// The previous_blockhash of `expected_block` is default because its parent slot is a root,
// but empty of entries (eg. snapshot root slots). This now returns an error.
let confirmed_block_err = blockstore.get_rooted_block(slot, true).unwrap_err();
assert_matches!(
confirmed_block_err,
BlockstoreError::ParentEntriesUnavailable
blockstore.get_rooted_block(slot, true),
Err(BlockstoreError::ParentEntriesUnavailable)
);
// Test if require_previous_blockhash is false
@@ -6908,7 +6909,7 @@ pub mod tests {
blockstore.insert_shreds(shreds, None, false).unwrap();
blockstore.set_roots(vec![slot - 1, slot].iter()).unwrap();
let expected_transactions: Vec<TransactionWithStatusMeta> = entries
let expected_transactions: Vec<TransactionWithMetadata> = entries
.iter()
.cloned()
.filter(|entry| !entry.is_tick())
@@ -6949,9 +6950,9 @@ pub mod tests {
.transaction_status_cf
.put_protobuf((0, signature, slot), &status)
.unwrap();
TransactionWithStatusMeta {
TransactionWithMetadata {
transaction,
meta: Some(TransactionStatusMeta {
meta: TransactionStatusMeta {
status: Ok(()),
fee: 42,
pre_balances,
@@ -6961,7 +6962,7 @@ pub mod tests {
pre_token_balances,
post_token_balances,
rewards,
}),
},
}
})
.collect();
@@ -6990,7 +6991,7 @@ pub mod tests {
blockstore.run_purge(0, 2, PurgeType::PrimaryIndex).unwrap();
*blockstore.lowest_cleanup_slot.write().unwrap() = slot;
for TransactionWithStatusMeta { transaction, .. } in expected_transactions {
for TransactionWithMetadata { transaction, .. } in expected_transactions {
let signature = transaction.signatures[0];
assert_eq!(blockstore.get_rooted_transaction(signature).unwrap(), None,);
assert_eq!(
@@ -7012,7 +7013,7 @@ pub mod tests {
let shreds = entries_to_test_shreds(entries.clone(), slot, slot - 1, true, 0);
blockstore.insert_shreds(shreds, None, false).unwrap();
let expected_transactions: Vec<TransactionWithStatusMeta> = entries
let expected_transactions: Vec<TransactionWithMetadata> = entries
.iter()
.cloned()
.filter(|entry| !entry.is_tick())
@@ -7053,9 +7054,9 @@ pub mod tests {
.transaction_status_cf
.put_protobuf((0, signature, slot), &status)
.unwrap();
TransactionWithStatusMeta {
TransactionWithMetadata {
transaction,
meta: Some(TransactionStatusMeta {
meta: TransactionStatusMeta {
status: Ok(()),
fee: 42,
pre_balances,
@@ -7065,7 +7066,7 @@ pub mod tests {
pre_token_balances,
post_token_balances,
rewards,
}),
},
}
})
.collect();
@@ -7087,7 +7088,7 @@ pub mod tests {
blockstore.run_purge(0, 2, PurgeType::PrimaryIndex).unwrap();
*blockstore.lowest_cleanup_slot.write().unwrap() = slot;
for TransactionWithStatusMeta { transaction, .. } in expected_transactions {
for TransactionWithMetadata { transaction, .. } in expected_transactions {
let signature = transaction.signatures[0];
assert_eq!(
blockstore
@@ -7134,8 +7135,6 @@ pub mod tests {
)
.unwrap();
}
// Purge to freeze index 0
blockstore.run_purge(0, 1, PurgeType::PrimaryIndex).unwrap();
let slot1 = 20;
for x in 5..9 {
let signature = Signature::new(&[x; 64]);
@@ -7284,8 +7283,6 @@ pub mod tests {
)
.unwrap();
}
// Purge to freeze index 0
blockstore.run_purge(0, 1, PurgeType::PrimaryIndex).unwrap();
for x in 7..9 {
let signature = Signature::new(&[x; 64]);
blockstore
@@ -7343,6 +7340,9 @@ pub mod tests {
let ledger_path = get_tmp_ledger_path_auto_delete!();
let blockstore = Blockstore::open(ledger_path.path()).unwrap();
let (shreds, _) = make_slot_entries(1, 0, 4);
blockstore.insert_shreds(shreds, None, false).unwrap();
fn make_slot_entries_with_transaction_addresses(addresses: &[Pubkey]) -> Vec<Entry> {
let mut entries: Vec<Entry> = Vec::new();
for address in addresses {
@@ -7370,11 +7370,7 @@ pub mod tests {
let shreds = entries_to_test_shreds(entries.clone(), slot, slot - 1, true, 0);
blockstore.insert_shreds(shreds, None, false).unwrap();
for (i, entry) in entries.into_iter().enumerate() {
if slot == 4 && i == 2 {
// Purge to freeze index 0 and write address-signatures in new primary index
blockstore.run_purge(0, 1, PurgeType::PrimaryIndex).unwrap();
}
for entry in entries.into_iter() {
for tx in entry.transactions {
let transaction = tx
.into_legacy_transaction()
@@ -7809,7 +7805,6 @@ pub mod tests {
fn test_map_transactions_to_statuses() {
let ledger_path = get_tmp_ledger_path_auto_delete!();
let blockstore = Blockstore::open(ledger_path.path()).unwrap();
let transaction_status_cf = &blockstore.transaction_status_cf;
let slot = 0;
@@ -7841,6 +7836,16 @@ pub mod tests {
.unwrap();
transactions.push(transaction.into());
}
let map_result =
blockstore.map_transactions_to_statuses(slot, transactions.clone().into_iter());
assert!(map_result.is_ok());
let map = map_result.unwrap();
assert_eq!(map.len(), 4);
for (x, m) in map.iter().enumerate() {
assert_eq!(m.meta.fee, x as u64);
}
// Push transaction that will not have matching status, as a test case
transactions.push(
Transaction::new_with_compiled_instructions(
@@ -7854,13 +7859,7 @@ pub mod tests {
);
let map_result = blockstore.map_transactions_to_statuses(slot, transactions.into_iter());
assert!(map_result.is_ok());
let map = map_result.unwrap();
assert_eq!(map.len(), 5);
for (x, m) in map.iter().take(4).enumerate() {
assert_eq!(m.meta.as_ref().unwrap().fee, x as u64);
}
assert_eq!(map[4].meta, None);
assert_matches!(map_result, Err(BlockstoreError::MissingTransactionMetadata));
}
#[test]

View File

@@ -102,6 +102,7 @@ pub enum BlockstoreError {
ParentEntriesUnavailable,
SlotUnavailable,
UnsupportedTransactionVersion,
MissingTransactionMetadata,
}
pub type Result<T> = std::result::Result<T, BlockstoreError>;

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-local-cluster"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -17,19 +17,19 @@ fs_extra = "1.2.0"
log = "0.4.14"
rand = "0.7.0"
rayon = "1.5.1"
solana-config-program = { path = "../programs/config", version = "=1.9.8" }
solana-core = { path = "../core", version = "=1.9.8" }
solana-client = { path = "../client", version = "=1.9.8" }
solana-download-utils = { path = "../download-utils", version = "=1.9.8" }
solana-entry = { path = "../entry", version = "=1.9.8" }
solana-gossip = { path = "../gossip", version = "=1.9.8" }
solana-ledger = { path = "../ledger", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-stake-program = { path = "../programs/stake", version = "=1.9.8" }
solana-streamer = { path = "../streamer", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-config-program = { path = "../programs/config", version = "=1.9.10" }
solana-core = { path = "../core", version = "=1.9.10" }
solana-client = { path = "../client", version = "=1.9.10" }
solana-download-utils = { path = "../download-utils", version = "=1.9.10" }
solana-entry = { path = "../entry", version = "=1.9.10" }
solana-gossip = { path = "../gossip", version = "=1.9.10" }
solana-ledger = { path = "../ledger", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-stake-program = { path = "../programs/stake", version = "=1.9.10" }
solana-streamer = { path = "../streamer", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
tempfile = "3.2.0"
[dev-dependencies]

View File

@@ -877,46 +877,27 @@ fn find_latest_replayed_slot_from_ledger(
latest_slot = new_latest_slot;
info!("Checking latest_slot {}", latest_slot);
// Wait for the slot to be fully received by the validator
let entries;
loop {
info!("Waiting for slot {} to be full", latest_slot);
if blockstore.is_full(latest_slot) {
entries = blockstore.get_slot_entries(latest_slot, 0).unwrap();
assert!(!entries.is_empty());
break;
} else {
sleep(Duration::from_millis(50));
blockstore = open_blockstore(ledger_path);
}
}
// Check the slot has been replayed
let non_tick_entry = entries.into_iter().find(|e| !e.transactions.is_empty());
if let Some(non_tick_entry) = non_tick_entry {
// Wait for the slot to be replayed
loop {
info!("Waiting for slot {} to be replayed", latest_slot);
if !blockstore
.map_transactions_to_statuses(
latest_slot,
non_tick_entry.transactions.clone().into_iter(),
)
.unwrap()
.is_empty()
{
return (
latest_slot,
AncestorIterator::new(latest_slot, &blockstore).collect(),
);
} else {
sleep(Duration::from_millis(50));
blockstore = open_blockstore(ledger_path);
}
// Wait for the slot to be replayed
loop {
info!("Waiting for slot {} to be replayed", latest_slot);
if blockstore.get_bank_hash(latest_slot).is_some() {
return (
latest_slot,
AncestorIterator::new(latest_slot, &blockstore).collect(),
);
} else {
sleep(Duration::from_millis(50));
blockstore = open_blockstore(ledger_path);
}
} else {
info!(
"No transactions in slot {}, can't tell if it was replayed",
latest_slot
);
}
}
sleep(Duration::from_millis(50));

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2021"
name = "solana-log-analyzer"
description = "The solana cluster network analysis tool"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -14,8 +14,8 @@ byte-unit = "4.0.13"
clap = "2.33.1"
serde = "1.0.130"
serde_json = "1.0.72"
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
[[bin]]
name = "solana-log-analyzer"

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-logger"
version = "1.9.8"
version = "1.9.10"
description = "Solana Logger"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"

View File

@@ -1,7 +1,7 @@
[package]
name = "solana-measure"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
homepage = "https://solana.com/"
documentation = "https://docs.rs/solana-measure"
readme = "../README.md"
@@ -12,7 +12,7 @@ edition = "2021"
[dependencies]
log = "0.4.14"
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-merkle-root-bench"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -10,11 +10,11 @@ publish = false
[dependencies]
log = "0.4.14"
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
clap = "2.33.1"
[package.metadata.docs.rs]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-merkle-tree"
version = "1.9.8"
version = "1.9.10"
description = "Solana Merkle Tree"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -10,7 +10,7 @@ documentation = "https://docs.rs/solana-merkle-tree"
edition = "2021"
[dependencies]
solana-program = { path = "../sdk/program", version = "=1.9.8" }
solana-program = { path = "../sdk/program", version = "=1.9.10" }
fast-math = "0.1"
# This can go once the BPF toolchain target Rust 1.42.0+

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-metrics"
version = "1.9.8"
version = "1.9.10"
description = "Solana Metrics"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -15,7 +15,7 @@ gethostname = "0.2.1"
lazy_static = "1.4.0"
log = "0.4.14"
reqwest = { version = "0.11.6", default-features = false, features = ["blocking", "rustls-tls", "json"] }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
[dev-dependencies]
rand = "0.7.0"

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-net-shaper"
description = "The solana cluster network shaping tool"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -13,8 +13,8 @@ publish = false
clap = "2.33.1"
serde = "1.0.130"
serde_json = "1.0.72"
solana-clap-utils = { path = "../clap-utils", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-clap-utils = { path = "../clap-utils", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
rand = "0.7.0"
[[bin]]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-net-utils"
version = "1.9.8"
version = "1.9.10"
description = "Solana Network Utilities"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -18,9 +18,9 @@ rand = "0.7.0"
serde = "1.0.130"
serde_derive = "1.0.103"
socket2 = "0.4.2"
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
tokio = { version = "1", features = ["full"] }
url = "2.2.2"

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-notifier"
version = "1.9.8"
version = "1.9.10"
description = "Solana Notifier"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-perf"
version = "1.9.8"
version = "1.9.10"
description = "Solana Performance APIs"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -22,12 +22,12 @@ log = "0.4.14"
rand = "0.7.0"
rayon = "1.5.1"
serde = "1.0.130"
solana-bloom = { path = "../bloom", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.8" }
solana-bloom = { path = "../bloom", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.10" }
[target."cfg(target_os = \"linux\")".dependencies]
caps = "0.5.3"

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
edition = "2021"
name = "solana-poh-bench"
version = "1.9.8"
version = "1.9.10"
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
@@ -14,12 +14,12 @@ clap = "2.33.1"
log = "0.4.14"
rand = "0.7.0"
rayon = "1.5.1"
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-entry = { path = "../entry", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-version = { path = "../version", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-entry = { path = "../entry", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-version = { path = "../version", version = "=1.9.10" }
solana-perf = { path = "../perf", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-poh"
version = "1.9.8"
version = "1.9.10"
description = "Solana PoH"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -13,21 +13,21 @@ edition = "2021"
core_affinity = "0.5.10"
crossbeam-channel = "0.5"
log = "0.4.14"
solana-entry = { path = "../entry", version = "=1.9.8" }
solana-ledger = { path = "../ledger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-metrics = { path = "../metrics", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-sys-tuner = { path = "../sys-tuner", version = "=1.9.8" }
solana-entry = { path = "../entry", version = "=1.9.10" }
solana-ledger = { path = "../ledger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-metrics = { path = "../metrics", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-sys-tuner = { path = "../sys-tuner", version = "=1.9.10" }
thiserror = "1.0"
[dev-dependencies]
bincode = "1.3.3"
matches = "0.1.9"
rand = "0.7.0"
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-perf = { path = "../perf", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-perf = { path = "../perf", version = "=1.9.10" }
[lib]
crate-type = ["lib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-program-runtime"
version = "1.9.8"
version = "1.9.10"
description = "Solana program runtime"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -19,11 +19,11 @@ log = "0.4.14"
num-derive = { version = "0.3" }
num-traits = { version = "0.2" }
serde = { version = "1.0.129", features = ["derive", "rc"] }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.8" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-measure = { path = "../measure", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.9.10" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-measure = { path = "../measure", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
thiserror = "1.0"
[lib]

View File

@@ -36,6 +36,8 @@ pub struct ComputeBudget {
pub sha256_base_cost: u64,
/// Incremental number of units consumed by SHA256 (based on bytes)
pub sha256_byte_cost: u64,
/// Maximum number of slices hashed per syscall
pub sha256_max_slices: u64,
/// Maximum BPF to BPF call depth
pub max_call_depth: usize,
/// Size of a stack frame in bytes, must match the size specified in the LLVM BPF backend
@@ -82,6 +84,7 @@ impl ComputeBudget {
max_invoke_depth: 4,
sha256_base_cost: 85,
sha256_byte_cost: 1,
sha256_max_slices: 20_000,
max_call_depth: 64,
stack_frame_size: 4_096,
log_pubkey_units: 100,

View File

@@ -5,7 +5,7 @@ edition = "2021"
license = "Apache-2.0"
name = "solana-program-test"
repository = "https://github.com/solana-labs/solana"
version = "1.9.8"
version = "1.9.10"
[dependencies]
async-trait = "0.1.51"
@@ -14,14 +14,14 @@ bincode = "1.3.3"
chrono-humanize = "0.2.1"
log = "0.4.14"
serde = "1.0.130"
solana-banks-client = { path = "../banks-client", version = "=1.9.8" }
solana-banks-server = { path = "../banks-server", version = "=1.9.8" }
solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.9.8" }
solana-logger = { path = "../logger", version = "=1.9.8" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.8" }
solana-runtime = { path = "../runtime", version = "=1.9.8" }
solana-sdk = { path = "../sdk", version = "=1.9.8" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.8" }
solana-banks-client = { path = "../banks-client", version = "=1.9.10" }
solana-banks-server = { path = "../banks-server", version = "=1.9.10" }
solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.9.10" }
solana-logger = { path = "../logger", version = "=1.9.10" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.10" }
solana-runtime = { path = "../runtime", version = "=1.9.10" }
solana-sdk = { path = "../sdk", version = "=1.9.10" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.10" }
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }

View File

@@ -3,7 +3,7 @@
[package]
name = "solana-address-lookup-table-program-tests"
version = "1.9.8"
version = "1.9.10"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
@@ -14,9 +14,9 @@ publish = false
[dev-dependencies]
assert_matches = "1.5.0"
bincode = "1.3.3"
solana-address-lookup-table-program = { path = "../address-lookup-table", version = "=1.9.8" }
solana-program-test = { path = "../../program-test", version = "=1.9.8" }
solana-sdk = { path = "../../sdk", version = "=1.9.8" }
solana-address-lookup-table-program = { path = "../address-lookup-table", version = "=1.9.10" }
solana-program-test = { path = "../../program-test", version = "=1.9.10" }
solana-sdk = { path = "../../sdk", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-address-lookup-table-program"
version = "1.9.8"
version = "1.9.10"
description = "Solana address lookup table program"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -16,10 +16,10 @@ log = "0.4.14"
num-derive = "0.3"
num-traits = "0.2"
serde = { version = "1.0.127", features = ["derive"] }
solana-frozen-abi = { path = "../../frozen-abi", version = "=1.9.8" }
solana-frozen-abi-macro = { path = "../../frozen-abi/macro", version = "=1.9.8" }
solana-program-runtime = { path = "../../program-runtime", version = "=1.9.8" }
solana-sdk = { path = "../../sdk", version = "=1.9.8" }
solana-frozen-abi = { path = "../../frozen-abi", version = "=1.9.10" }
solana-frozen-abi-macro = { path = "../../frozen-abi/macro", version = "=1.9.10" }
solana-program-runtime = { path = "../../program-runtime", version = "=1.9.10" }
solana-sdk = { path = "../../sdk", version = "=1.9.10" }
thiserror = "1.0"
[build-dependencies]

3204
programs/bpf/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
[package]
name = "solana-bpf-programs"
description = "Blockchain, Rebuilt for Scale"
version = "1.9.8"
version = "1.9.10"
documentation = "https://docs.rs/solana"
homepage = "https://solana.com/"
readme = "README.md"
@@ -26,19 +26,19 @@ itertools = "0.10.1"
log = "0.4.11"
miow = "0.3.6"
net2 = "0.2.37"
solana-bpf-rust-invoke = { path = "rust/invoke", version = "=1.9.8"}
solana-bpf-loader-program = { path = "../bpf_loader", version = "=1.9.8"}
solana-bpf-rust-realloc = { path = "rust/realloc", version = "=1.9.8"}
solana-bpf-rust-realloc-invoke = { path = "rust/realloc_invoke", version = "=1.9.8"}
solana-cli-output = { path = "../../cli-output", version = "=1.9.8" }
solana-logger = { path = "../../logger", version = "=1.9.8" }
solana-measure = { path = "../../measure", version = "=1.9.8" }
solana_rbpf = "=0.2.23"
solana-runtime = { path = "../../runtime", version = "=1.9.8" }
solana-program-runtime = { path = "../../program-runtime", version = "=1.9.8" }
solana-sdk = { path = "../../sdk", version = "=1.9.8" }
solana-transaction-status = { path = "../../transaction-status", version = "=1.9.8" }
solana-account-decoder = { path = "../../account-decoder", version = "=1.9.8" }
solana-bpf-rust-invoke = { path = "rust/invoke", version = "=1.9.10"}
solana-bpf-loader-program = { path = "../bpf_loader", version = "=1.9.10"}
solana-bpf-rust-realloc = { path = "rust/realloc", version = "=1.9.10"}
solana-bpf-rust-realloc-invoke = { path = "rust/realloc_invoke", version = "=1.9.10"}
solana-cli-output = { path = "../../cli-output", version = "=1.9.10" }
solana-logger = { path = "../../logger", version = "=1.9.10" }
solana-measure = { path = "../../measure", version = "=1.9.10" }
solana_rbpf = "=0.2.24"
solana-runtime = { path = "../../runtime", version = "=1.9.10" }
solana-program-runtime = { path = "../../program-runtime", version = "=1.9.10" }
solana-sdk = { path = "../../sdk", version = "=1.9.10" }
solana-transaction-status = { path = "../../transaction-status", version = "=1.9.10" }
solana-account-decoder = { path = "../../account-decoder", version = "=1.9.10" }
[[bench]]
name = "bpf_loader"
@@ -83,7 +83,6 @@ members = [
"rust/sha",
"rust/sibling_inner_instruction",
"rust/sibling_instruction",
"rust/simulation",
"rust/spoof1",
"rust/spoof1_system",
"rust/sysvar",

View File

@@ -93,7 +93,6 @@ fn main() {
"sha",
"sibling_inner_instruction",
"sibling_instruction",
"simulation",
"spoof1",
"spoof1_system",
"upgradeable",

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-128bit"
version = "1.9.8"
version = "1.9.10"
description = "Solana BPF test program written in Rust"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -10,8 +10,8 @@ documentation = "https://docs.rs/solana-bpf-rust-128bit"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-bpf-rust-128bit-dep = { path = "../128bit_dep", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
solana-bpf-rust-128bit-dep = { path = "../128bit_dep", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-128bit-dep"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-128bit-dep"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-alloc"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-alloc"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-call-depth"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-call-depth"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-caller-access"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-caller-access"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-custom-heap"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-custom-heap"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[features]
default = ["custom-heap"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-dep-crate"
version = "1.9.8"
version = "1.9.10"
description = "Solana BPF test program written in Rust"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -11,7 +11,7 @@ edition = "2021"
[dependencies]
byteorder = { version = "1", default-features = false }
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-deprecated-loader"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-deprecated-loader"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-dup-accounts"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-dup-accounts"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-error-handling"
version = "1.9.8"
version = "1.9.10"
description = "Solana BPF test program written in Rust"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -12,7 +12,7 @@ edition = "2021"
[dependencies]
num-derive = "0.3"
num-traits = "0.2"
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
thiserror = "1.0"
[lib]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-external-spend"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-external-spend"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-finalize"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-finalize"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-instruction-introspection"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-instruction-introspection"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-invoke"
version = "1.9.8"
version = "1.9.10"
description = "Solana BPF test program written in Rust"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -15,7 +15,7 @@ program = []
[dependencies]
solana-bpf-rust-invoked = { path = "../invoked", default-features = false }
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["lib", "cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-invoke-and-error"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-invoke-and-error"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-invoke-and-ok"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-invoke-and-ok"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-invoke-and-return"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-invoke-and-return"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-invoked"
version = "1.9.8"
version = "1.9.10"
description = "Solana BPF test program written in Rust"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -14,7 +14,7 @@ default = ["program"]
program = []
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["lib", "cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-iter"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-iter"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-log-data"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-log-data"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[features]
default = ["program"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-many-args"
version = "1.9.8"
version = "1.9.10"
description = "Solana BPF test program written in Rust"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -10,8 +10,8 @@ documentation = "https://docs.rs/solana-bpf-rust-many-args"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-bpf-rust-many-args-dep = { path = "../many_args_dep", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
solana-bpf-rust-many-args-dep = { path = "../many_args_dep", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-many-args-dep"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-many-args-dep"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-mem"
version = "1.9.8"
version = "1.9.10"
description = "Solana BPF test program written in Rust"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -13,12 +13,12 @@ edition = "2021"
no-entrypoint = []
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[dev-dependencies]
solana-program-runtime = { path = "../../../../program-runtime", version = "=1.9.8" }
solana-program-test = { path = "../../../../program-test", version = "=1.9.8" }
solana-sdk = { path = "../../../../sdk", version = "=1.9.8" }
solana-program-runtime = { path = "../../../../program-runtime", version = "=1.9.10" }
solana-program-test = { path = "../../../../program-test", version = "=1.9.10" }
solana-sdk = { path = "../../../../sdk", version = "=1.9.10" }
[lib]
crate-type = ["cdylib", "lib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-membuiltins"
version = "1.9.8"
version = "1.9.10"
description = "Solana BPF test program written in Rust"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
@@ -10,8 +10,8 @@ documentation = "https://docs.rs/solana-bpf-rust-mem"
edition = "2021"
[dependencies]
solana-bpf-rust-mem = { path = "../mem", version = "=1.9.8", features = [ "no-entrypoint" ] }
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-bpf-rust-mem = { path = "../mem", version = "=1.9.10", features = [ "no-entrypoint" ] }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-noop"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-noop"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[lib]
crate-type = ["cdylib"]

View File

@@ -1,6 +1,6 @@
[package]
name = "solana-bpf-rust-panic"
version = "1.9.8"
version = "1.9.10"
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 @@ documentation = "https://docs.rs/solana-bpf-rust-panic"
edition = "2021"
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.9.8" }
solana-program = { path = "../../../../sdk/program", version = "=1.9.10" }
[features]
default = ["custom-panic"]

Some files were not shown because too many files have changed in this diff Show More