Rename KeypairUtil to Signer (#8360)

automerge
This commit is contained in:
Tyera Eulberg
2020-02-20 14:28:55 -07:00
committed by GitHub
parent ec5c02cb7f
commit ab361a8073
108 changed files with 138 additions and 140 deletions

View File

@@ -33,7 +33,7 @@ mod bpf {
client::SyncClient,
instruction::{AccountMeta, Instruction, InstructionError},
pubkey::Pubkey,
signature::KeypairUtil,
signature::Signer,
transaction::TransactionError,
};
use std::{io::Read, sync::Arc};
@@ -225,7 +225,7 @@ mod bpf {
clock::DEFAULT_SLOTS_PER_EPOCH,
instruction::{AccountMeta, Instruction, InstructionError},
pubkey::Pubkey,
signature::{Keypair, KeypairUtil},
signature::{Keypair, Signer},
sysvar::{clock, fees, rent, rewards, slot_hashes, stake_history},
transaction::TransactionError,
};

View File

@@ -232,7 +232,7 @@ mod tests {
use solana_sdk::hash::hash;
use solana_sdk::instruction::InstructionError;
use solana_sdk::message::Message;
use solana_sdk::signature::{Keypair, KeypairUtil};
use solana_sdk::signature::{Keypair, Signer};
use solana_sdk::transaction::TransactionError;
fn create_bank(lamports: u64) -> (Bank, Keypair) {

View File

@@ -108,7 +108,7 @@ mod tests {
use serde_derive::{Deserialize, Serialize};
use solana_sdk::{
account::{create_keyed_is_signer_accounts, Account},
signature::{Keypair, KeypairUtil},
signature::{Keypair, Signer},
system_instruction::SystemInstruction,
};
use std::cell::RefCell;

View File

@@ -493,7 +493,7 @@ mod test {
use solana_sdk::client::SyncClient;
use solana_sdk::genesis_config::create_genesis_config;
use solana_sdk::message::Message;
use solana_sdk::signature::{Keypair, KeypairUtil};
use solana_sdk::signature::{Keypair, Signer};
use solana_sdk::system_instruction;
use std::mem;

View File

@@ -5,7 +5,7 @@ use solana_sdk::client::SyncClient;
use solana_sdk::genesis_config::create_genesis_config;
use solana_sdk::instruction::InstructionError;
use solana_sdk::pubkey::Pubkey;
use solana_sdk::signature::KeypairUtil;
use solana_sdk::signature::Signer;
use solana_sdk::transaction::TransactionError;
#[test]

View File

@@ -13,7 +13,7 @@ use solana_sdk::{
instruction::InstructionError,
message::Message,
pubkey::Pubkey,
signature::{Keypair, KeypairUtil},
signature::{Keypair, Signer},
system_instruction,
};

View File

@@ -9,7 +9,7 @@ use solana_sdk::{
commitment_config::CommitmentConfig,
hash::Hash,
pubkey::Pubkey,
signature::{Keypair, KeypairUtil},
signature::{Keypair, Signer},
system_instruction,
transaction::Transaction,
};
@@ -155,7 +155,7 @@ mod tests {
use solana_runtime::bank::Bank;
use solana_runtime::bank_client::BankClient;
use solana_sdk::genesis_config::create_genesis_config;
use solana_sdk::signature::{Keypair, KeypairUtil};
use solana_sdk::signature::{Keypair, Signer};
use std::sync::Arc;
fn create_bank(lamports: u64) -> (Arc<Bank>, Keypair, Keypair, Pubkey, Pubkey) {

View File

@@ -63,7 +63,7 @@ mod tests {
client::SyncClient,
genesis_config::create_genesis_config,
message::Message,
signature::{Keypair, KeypairUtil, Signature},
signature::{Keypair, Signature, Signer},
system_program,
transport::Result,
};

View File

@@ -153,7 +153,7 @@ mod tests {
use solana_sdk::genesis_config::create_genesis_config;
use solana_sdk::hash::hash;
use solana_sdk::message::Message;
use solana_sdk::signature::{Keypair, KeypairUtil, Signature};
use solana_sdk::signature::{Keypair, Signature, Signer};
use solana_sdk::transaction::TransactionError;
use solana_sdk::transport::Result;
use std::sync::Arc;