Rename KeypairUtil to Signer (#8360) (#8366)

automerge
This commit is contained in:
mergify[bot]
2020-02-20 16:30:43 -08:00
committed by GitHub
parent 29cdfd6bc9
commit 02877814fa
107 changed files with 218 additions and 208 deletions

View File

@@ -27,14 +27,15 @@ mod bpf {
mod bpf_c {
use super::*;
use solana_runtime::loader_utils::create_invoke_instruction;
use solana_sdk::account::Account;
use solana_sdk::bpf_loader;
use solana_sdk::client::SyncClient;
use solana_sdk::instruction::{AccountMeta, Instruction};
use solana_sdk::signature::KeypairUtil;
use std::io::Read;
use std::sync::Arc;
use solana_sdk::pubkey::Pubkey;
use solana_sdk::{
account::Account,
bpf_loader,
client::SyncClient,
instruction::{AccountMeta, Instruction},
pubkey::Pubkey,
signature::Signer,
};
use std::{io::Read, sync::Arc};
#[test]
fn test_program_bpf_c() {
@@ -156,16 +157,17 @@ mod bpf {
#[cfg(feature = "bpf_rust")]
mod bpf_rust {
use super::*;
use solana_sdk::account::Account;
use solana_sdk::bpf_loader;
use solana_sdk::client::SyncClient;
use solana_sdk::clock::DEFAULT_SLOTS_PER_EPOCH;
use solana_sdk::instruction::{AccountMeta, Instruction};
use solana_sdk::pubkey::Pubkey;
use solana_sdk::signature::{Keypair, KeypairUtil};
use solana_sdk::sysvar::{clock, fees, rent, rewards, slot_hashes, stake_history};
use std::io::Read;
use std::sync::Arc;
use solana_sdk::{
account::Account,
bpf_loader,
client::SyncClient,
clock::DEFAULT_SLOTS_PER_EPOCH,
instruction::{AccountMeta, Instruction},
pubkey::Pubkey,
signature::{Keypair, Signer},
sysvar::{clock, fees, rent, rewards, slot_hashes, stake_history},
};
use std::{io::Read, sync::Arc};
#[test]
fn test_program_bpf_rust() {