Make test_next_leader_slot_next_epoch() aware of stake minimum delegation (#24660)
This commit is contained in:
parent
08bb98450f
commit
edf3f05ab5
|
@ -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",
|
||||
|
|
|
@ -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" }
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue