Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
443bdd8
Blockstore: fix last tests using legacy shreds (#7308)
alexpyattaev Aug 5, 2025
2d5e139
SPL: Use token-2022-interface crate (#7298)
joncinque Aug 5, 2025
23f8708
deps: Cleanup lockfile (#7319)
joncinque Aug 5, 2025
0ba7f1e
greedy_scheduler: cache Batches (#7193)
alessandrod Aug 5, 2025
9c0296c
chore: typo fixes (#7303)
anim001k Aug 5, 2025
cc31c21
turbine: migrate bench and test to non-overlapping ports (#7179)
puhtaytow Aug 5, 2025
4cef73c
validator, tests: migrate admin_rpc_service to non-overlapping ports …
puhtaytow Aug 5, 2025
bbe0655
local-cluster: move to non-overlapping ports (#7178)
puhtaytow Aug 5, 2025
580fd14
Removes snapshot_bank_utils::get_snapshot_storages() (#7302)
brooksprumo Aug 5, 2025
1dca9e7
Rename upsert reclaims accounts index test default define (#7325)
roryharr Aug 5, 2025
26073a2
Feature - Stricter ABI and runtime constraints (#7113)
Lichtso Aug 5, 2025
2dab64a
ignore failing test
ksn6 Aug 21, 2025
7c7ad62
gossip: refactor cluster_info #5824 (#7228)
puhtaytow Aug 5, 2025
d2deb1a
Fix release build compilation error (#7329)
fkouteib Aug 5, 2025
4dc9822
PohRecorder: SharedWorkingBank (#7280)
apfitzge Aug 5, 2025
2f36bb4
BankForks - SharableBank for root (#7300)
apfitzge Aug 5, 2025
52cffce
Moves startup accounts verification thread pool creation (#7326)
brooksprumo Aug 5, 2025
7aeb79e
Changing tests to use u64 rather than bool for T during accounts inde…
roryharr Aug 5, 2025
1fcfa34
thin-client: Remove deprecated module (#7115)
fkouteib Aug 5, 2025
d9b9b50
initialize cluster slots with the current root bank (#7314)
jstarry Aug 5, 2025
de139fa
SPL: Use token interface crate (#7311)
rustopian Aug 6, 2025
3c3d524
🪓 Remove SVM conformance tests 🪓 (#7322)
LucasSte Aug 6, 2025
2f1079c
Streamer: code cleanup (#7320)
alexpyattaev Aug 6, 2025
30a600c
docs: remove operations/validator-initiatives.md (#7257)
yihau Aug 6, 2025
45460c7
docs: clean up outdated link (#7346)
yihau Aug 6, 2025
5d0e2e4
Change bool addref return value from update_slot_list to a ref_change…
roryharr Aug 6, 2025
d05117a
Refactors logging for startup accounts verification (#7327)
brooksprumo Aug 6, 2025
2dd92af
Renames verify_accounts_lt_hash_us metric (#7339)
brooksprumo Aug 6, 2025
8a1c557
Renames solBgHashVerify thread (#7340)
brooksprumo Aug 6, 2025
7fa9b6b
update shred format tests to use merkle shreds (#7310)
alexpyattaev Aug 6, 2025
86f3f97
chore: typo fixes (#7337)
anim001k Aug 6, 2025
2fa1e09
fix: various importance typos (#7342)
CreeptoGengar Aug 6, 2025
a61c8ba
Remove `index_in_callee` from `InstructionAccount` (#7263)
LucasSte Aug 6, 2025
6353196
address comments
ksn6 Aug 21, 2025
4e32ef4
cleanup
ksn6 Aug 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,705 changes: 1,301 additions & 1,404 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,11 @@ members = [
"streamer",
"svm",
"svm-callback",
"svm-conformance",
"svm-feature-set",
"svm-transaction",
"syscalls",
"syscalls/gen-syscall-list",
"test-validator",
"thin-client",
"thread-manager",
"timings",
"tls-utils",
Expand Down Expand Up @@ -541,7 +539,6 @@ solana-storage-proto = { path = "storage-proto", version = "=3.0.0" }
solana-streamer = { path = "streamer", version = "=3.0.0" }
solana-svm = { path = "svm", version = "=3.0.0" }
solana-svm-callback = { path = "svm-callback", version = "=3.0.0" }
solana-svm-conformance = { path = "svm-conformance", version = "=3.0.0" }
solana-svm-feature-set = { path = "svm-feature-set", version = "=3.0.0" }
solana-svm-transaction = { path = "svm-transaction", version = "=3.0.0" }
solana-system-interface = "1.0"
Expand All @@ -550,7 +547,6 @@ solana-system-transaction = "2.2.1"
solana-sysvar = "2.2.2"
solana-sysvar-id = "2.2.1"
solana-test-validator = { path = "test-validator", version = "=3.0.0" }
solana-thin-client = { path = "thin-client", version = "=3.0.0" }
solana-time-utils = "2.2.1"
solana-timings = { path = "timings", version = "=3.0.0" }
solana-tls-utils = { path = "tls-utils", version = "=3.0.0" }
Expand Down Expand Up @@ -585,10 +581,10 @@ spl-associated-token-account-interface = "1.0.0"
spl-generic-token = "1.0.1"
spl-memo-interface = "1.0.0"
spl-pod = "0.5.1"
spl-token = "8.0.0"
spl-token-2022-interface = "1.0.0"
spl-token-confidential-transfer-proof-extraction = "0.4.0"
spl-token-group-interface = "0.6.0"
spl-token-interface = "1.0.0"
spl-token-metadata-interface = "0.7.0"
static_assertions = "1.1.0"
stream-cancel = "0.8.2"
Expand Down
2 changes: 1 addition & 1 deletion account-decoder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ solana-stake-interface = { workspace = true }
solana-sysvar = { workspace = true }
solana-vote-interface = { workspace = true, features = ["bincode"] }
spl-generic-token = { workspace = true }
spl-token = { workspace = true, features = ["no-entrypoint"] }
spl-token-2022-interface = { workspace = true }
spl-token-group-interface = { workspace = true }
spl-token-interface = { workspace = true }
spl-token-metadata-interface = { workspace = true }
thiserror = { workspace = true }
zstd = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion account-decoder/src/parse_account_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ pub static PARSABLE_PROGRAM_IDS: std::sync::LazyLock<HashMap<Pubkey, ParsableAcc
);
m.insert(config::id(), ParsableAccount::Config);
m.insert(system_program::id(), ParsableAccount::Nonce);
m.insert(spl_token::id(), ParsableAccount::SplToken);
m.insert(
spl_token_2022_interface::id(),
ParsableAccount::SplToken2022,
);
m.insert(spl_token_interface::id(), ParsableAccount::SplToken);
m.insert(stake::id(), ParsableAccount::Stake);
m.insert(sysvar::id(), ParsableAccount::Sysvar);
m.insert(vote::id(), ParsableAccount::Vote);
Expand Down
2 changes: 1 addition & 1 deletion accounts-cluster-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ solana-transaction = { workspace = true }
solana-transaction-status = { workspace = true }
solana-version = { workspace = true }
spl-generic-token = { workspace = true }
spl-token = { workspace = true, features = ["no-entrypoint"] }
spl-token-interface = { workspace = true }

[target.'cfg(not(any(target_env = "msvc", target_os = "freebsd")))'.dependencies]
jemallocator = { workspace = true }
Expand Down
24 changes: 11 additions & 13 deletions accounts-cluster-bench/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use {
solana_transaction::Transaction,
solana_transaction_status::UiTransactionEncoding,
spl_generic_token::token,
spl_token::state::Account,
spl_token_interface::state::Account,
std::{
cmp::min,
collections::VecDeque,
Expand Down Expand Up @@ -228,17 +228,17 @@ fn make_create_message(
)];
if let Some(mint_address) = mint {
instructions.push(
spl_token::instruction::initialize_account(
&spl_token::id(),
spl_token_interface::instruction::initialize_account(
&spl_token_interface::id(),
&to_pubkey,
&mint_address,
&base_keypair.pubkey(),
)
.unwrap(),
);
instructions.push(
spl_token::instruction::approve(
&spl_token::id(),
spl_token_interface::instruction::approve(
&spl_token_interface::id(),
&to_pubkey,
&base_keypair.pubkey(),
&base_keypair.pubkey(),
Expand Down Expand Up @@ -282,8 +282,8 @@ fn make_close_message(
Pubkey::create_with_seed(&base_keypair.pubkey(), &seed, &program_id).unwrap();
if spl_token {
Some(
spl_token::instruction::close_account(
&spl_token::id(),
spl_token_interface::instruction::close_account(
&spl_token_interface::id(),
&address,
&keypair.pubkey(),
&base_keypair.pubkey(),
Expand Down Expand Up @@ -1422,11 +1422,9 @@ pub mod test {
solana_measure::measure::Measure,
solana_native_token::sol_to_lamports,
solana_poh_config::PohConfig,
solana_program_pack::Pack,
solana_test_validator::TestValidator,
spl_token::{
solana_program::program_pack::Pack,
state::{Account, Mint},
},
spl_token_interface::state::{Account, Mint},
};

fn initialize_and_add_secondary_indexes(validator_config: &mut ValidatorConfig) {
Expand Down Expand Up @@ -1603,8 +1601,8 @@ pub mod test {
spl_mint_len as u64,
&token::id(),
),
spl_token::instruction::initialize_mint(
&spl_token::id(),
spl_token_interface::instruction::initialize_mint(
&spl_token_interface::id(),
&spl_mint_keypair.pubkey(),
&spl_mint_keypair.pubkey(),
None,
Expand Down
2 changes: 2 additions & 0 deletions accounts-db/benches/bench_accounts_file.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#![allow(clippy::arithmetic_side_effects)]
// TODO(ksn): remove this
#![allow(deprecated)]
use {
criterion::{criterion_group, criterion_main, BatchSize, BenchmarkId, Criterion, Throughput},
solana_account::{AccountSharedData, ReadableAccount},
Expand Down
2 changes: 1 addition & 1 deletion accounts-db/benches/read_only_accounts_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ fn bench_read_only_accounts_cache_eviction(
max_data_size_hi: usize,
) {
// Prepare initial accounts, two times the high limit of the cache, to make
// sure that the backgroud threads sometimes try to store something which
// sure that the background threads sometimes try to store something which
// is not in the cache.
let accounts: Vec<_> = utils::accounts_with_size_limit(
255,
Expand Down
2 changes: 2 additions & 0 deletions accounts-db/benches/utils.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// This file is included as a module separately in each bench, which causes
// a `dead_code` warning if the given bench doesn't `use` all functions.
#![allow(dead_code)]
// TODO(ksn): remove this
#![allow(deprecated)]

use {
rand::{
Expand Down
10 changes: 0 additions & 10 deletions accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1419,16 +1419,6 @@ pub fn default_num_hash_threads() -> NonZeroUsize {
let num_threads = (num_cpus::get() / 8).clamp(2, 6);
NonZeroUsize::new(num_threads).unwrap()
}

pub fn make_hash_thread_pool(num_threads: Option<NonZeroUsize>) -> ThreadPool {
let num_threads = num_threads.unwrap_or_else(default_num_hash_threads).get();
rayon::ThreadPoolBuilder::new()
.thread_name(|i| format!("solAcctHash{i:02}"))
.num_threads(num_threads)
.build()
.unwrap()
}

pub fn default_num_foreground_threads() -> usize {
get_thread_count()
}
Expand Down
2 changes: 1 addition & 1 deletion accounts-db/src/accounts_db/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4282,7 +4282,7 @@ fn start_load_thread(
return;
}
// Meddle load_limit to cover all branches of implementation.
// There should absolutely no behaviorial difference; the load_limit triggered
// There should absolutely no behavioral difference; the load_limit triggered
// slow branch should only affect the performance.
// Ordering::Relaxed is ok because of no data dependencies; the modified field is
// completely free-standing cfg(test) control-flow knob.
Expand Down
Loading
Loading