diff --git a/Cargo.lock b/Cargo.lock index 3c0b2d2d09824c..9fc8ab0b9fa888 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5023,6 +5023,7 @@ dependencies = [ "solana-rayon-threadlimit", "solana-runtime", "solana-sdk 1.11.0", + "solana-stake-program", "solana-storage-bigtable", "solana-storage-proto", "solana-transaction-status", diff --git a/ledger/Cargo.toml b/ledger/Cargo.toml index b0bdedaa21ba5b..d06213eefd40f3 100644 --- a/ledger/Cargo.toml +++ b/ledger/Cargo.toml @@ -44,6 +44,7 @@ solana-program-runtime = { path = "../program-runtime", version = "=1.11.0" } solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.11.0" } solana-runtime = { path = "../runtime", version = "=1.11.0" } solana-sdk = { path = "../sdk", version = "=1.11.0" } +solana-stake-program = { path = "../programs/stake", version = "=1.11.0" } solana-storage-bigtable = { path = "../storage-bigtable", version = "=1.11.0" } solana-storage-proto = { path = "../storage-proto", version = "=1.11.0" } solana-transaction-status = { path = "../transaction-status", version = "=1.11.0" } diff --git a/ledger/src/leader_schedule_cache.rs b/ledger/src/leader_schedule_cache.rs index accadce4a68cf6..465ade38d3af11 100644 --- a/ledger/src/leader_schedule_cache.rs +++ b/ledger/src/leader_schedule_cache.rs @@ -518,7 +518,8 @@ mod tests { &mint_keypair, &vote_account, &validator_identity, - bootstrap_validator_stake_lamports(), + bootstrap_validator_stake_lamports() + + solana_stake_program::get_minimum_delegation(&bank.feature_set), ); let node_pubkey = validator_identity.pubkey(); diff --git a/programs/bpf/Cargo.lock b/programs/bpf/Cargo.lock index 9ca662b7340e44..05e99dff8044a9 100644 --- a/programs/bpf/Cargo.lock +++ b/programs/bpf/Cargo.lock @@ -4552,6 +4552,7 @@ dependencies = [ "solana-rayon-threadlimit", "solana-runtime", "solana-sdk 1.11.0", + "solana-stake-program", "solana-storage-bigtable", "solana-storage-proto", "solana-transaction-status",