@@ -12,7 +12,7 @@ use solana_sdk::{
|
||||
genesis_config::create_genesis_config,
|
||||
instruction::InstructionError,
|
||||
pubkey::Pubkey,
|
||||
signature::{Keypair, KeypairUtil},
|
||||
signature::{Keypair, Signer},
|
||||
transaction::Transaction,
|
||||
};
|
||||
use std::{sync::Arc, thread::sleep, time::Duration};
|
||||
|
@@ -681,7 +681,7 @@ mod tests {
|
||||
message::Message,
|
||||
nonce_state,
|
||||
rent::Rent,
|
||||
signature::{Keypair, KeypairUtil},
|
||||
signature::{Keypair, Signer},
|
||||
system_program,
|
||||
transaction::Transaction,
|
||||
};
|
||||
|
@@ -2455,7 +2455,7 @@ pub mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_bad_bank_hash() {
|
||||
use solana_sdk::signature::{Keypair, KeypairUtil};
|
||||
use solana_sdk::signature::{Keypair, Signer};
|
||||
let db = AccountsDB::new(Vec::new());
|
||||
|
||||
let some_slot: Slot = 0;
|
||||
|
@@ -166,7 +166,7 @@ impl<T: Clone> AccountsIndex<T> {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use solana_sdk::signature::{Keypair, KeypairUtil};
|
||||
use solana_sdk::signature::{Keypair, Signer};
|
||||
|
||||
#[test]
|
||||
fn test_get_empty() {
|
||||
|
@@ -2134,7 +2134,7 @@ mod tests {
|
||||
nonce_state,
|
||||
poh_config::PohConfig,
|
||||
rent::Rent,
|
||||
signature::{Keypair, KeypairUtil},
|
||||
signature::{Keypair, Signer},
|
||||
system_instruction,
|
||||
system_program::{self, solana_system_program},
|
||||
sysvar::{fees::Fees, rewards::Rewards},
|
||||
|
@@ -8,7 +8,7 @@ use solana_sdk::{
|
||||
instruction::Instruction,
|
||||
message::Message,
|
||||
pubkey::Pubkey,
|
||||
signature::{Keypair, KeypairUtil, Signature},
|
||||
signature::{Keypair, Signature, Signer},
|
||||
signers::Signers,
|
||||
system_instruction,
|
||||
transaction::{self, Transaction},
|
||||
|
@@ -4,7 +4,7 @@ use solana_sdk::{
|
||||
genesis_config::GenesisConfig,
|
||||
pubkey::Pubkey,
|
||||
rent::Rent,
|
||||
signature::{Keypair, KeypairUtil},
|
||||
signature::{Keypair, Signer},
|
||||
system_program::{self, solana_system_program},
|
||||
};
|
||||
use solana_stake_program::stake_state;
|
||||
|
@@ -5,7 +5,7 @@ use solana_sdk::{
|
||||
loader_instruction,
|
||||
message::Message,
|
||||
pubkey::Pubkey,
|
||||
signature::{Keypair, KeypairUtil},
|
||||
signature::{Keypair, Signer},
|
||||
system_instruction,
|
||||
};
|
||||
|
||||
|
@@ -79,7 +79,7 @@ mod tests {
|
||||
instruction::InstructionError,
|
||||
nonce_state::{with_test_keyed_account, Meta, NonceAccount},
|
||||
pubkey::Pubkey,
|
||||
signature::{Keypair, KeypairUtil},
|
||||
signature::{Keypair, Signer},
|
||||
system_instruction,
|
||||
sysvar::{recent_blockhashes::create_test_recent_blockhashes, rent::Rent},
|
||||
};
|
||||
|
@@ -84,7 +84,7 @@ pub(crate) mod tests {
|
||||
client::SyncClient,
|
||||
genesis_config::create_genesis_config,
|
||||
message::Message,
|
||||
signature::{Keypair, KeypairUtil},
|
||||
signature::{Keypair, Signer},
|
||||
};
|
||||
use solana_storage_program::{
|
||||
storage_contract::{StorageAccount, STORAGE_ACCOUNT_SPACE},
|
||||
|
@@ -329,7 +329,7 @@ mod tests {
|
||||
instruction::{AccountMeta, Instruction, InstructionError},
|
||||
message::Message,
|
||||
nonce_state,
|
||||
signature::{Keypair, KeypairUtil},
|
||||
signature::{Keypair, Signer},
|
||||
system_instruction, system_program, sysvar,
|
||||
transaction::TransactionError,
|
||||
};
|
||||
|
@@ -2,8 +2,7 @@ use solana_runtime::{
|
||||
bank::Bank, bank_client::BankClient, loader_utils::create_invoke_instruction,
|
||||
};
|
||||
use solana_sdk::{
|
||||
client::SyncClient, genesis_config::create_genesis_config, pubkey::Pubkey,
|
||||
signature::KeypairUtil,
|
||||
client::SyncClient, genesis_config::create_genesis_config, pubkey::Pubkey, signature::Signer,
|
||||
};
|
||||
|
||||
#[test]
|
||||
|
@@ -8,7 +8,7 @@ use solana_sdk::{
|
||||
client::SyncClient,
|
||||
message::Message,
|
||||
pubkey::Pubkey,
|
||||
signature::{Keypair, KeypairUtil},
|
||||
signature::{Keypair, Signer},
|
||||
system_instruction::create_address_with_seed,
|
||||
sysvar::{self, stake_history::StakeHistory, Sysvar},
|
||||
};
|
||||
|
@@ -13,7 +13,7 @@ use solana_sdk::{
|
||||
hash::{hash, Hash},
|
||||
message::Message,
|
||||
pubkey::Pubkey,
|
||||
signature::{Keypair, KeypairUtil, Signature},
|
||||
signature::{Keypair, Signature, Signer},
|
||||
system_instruction,
|
||||
sysvar::{
|
||||
rewards::{self, Rewards},
|
||||
|
Reference in New Issue
Block a user