Fix fragile tests in prep of stake rewrite pr (#13654)
* Fix fragile tests in prep of stake rewrite pr * Restore BOOTSTRAP_VALIDATOR_LAMPORTS where appropriate * Further clean up * Further clean up * Aligh with other call site change * Remove false warn! * fix ci!
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
pub use solana_runtime::genesis_utils::{
|
||||
create_genesis_config_with_leader, create_genesis_config_with_leader_ex, GenesisConfigInfo,
|
||||
BOOTSTRAP_VALIDATOR_LAMPORTS,
|
||||
bootstrap_validator_stake_lamports, create_genesis_config_with_leader,
|
||||
create_genesis_config_with_leader_ex, GenesisConfigInfo,
|
||||
};
|
||||
|
||||
// same as genesis_config::create_genesis_config, but with bootstrap_validator staking logic
|
||||
@@ -9,6 +9,6 @@ pub fn create_genesis_config(mint_lamports: u64) -> GenesisConfigInfo {
|
||||
create_genesis_config_with_leader(
|
||||
mint_lamports,
|
||||
&solana_sdk::pubkey::new_rand(),
|
||||
BOOTSTRAP_VALIDATOR_LAMPORTS,
|
||||
bootstrap_validator_stake_lamports(),
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user