Move SDK types to more appropriate files (bp #10638) (#10665)

* Move types to more appropriate files (#10638)

(cherry picked from commit dac7dc2f10)

# Conflicts:
#	programs/stake/src/stake_instruction.rs
#	programs/vote/src/vote_instruction.rs
#	sdk/src/system_instruction.rs

* Fix conflicts

* bump lock

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2020-06-18 18:17:43 +00:00
committed by GitHub
parent a5baaf790d
commit bbe4990e80
27 changed files with 99 additions and 100 deletions

View File

@@ -6,13 +6,13 @@ use log::*;
use num_derive::{FromPrimitive, ToPrimitive};
use serde_derive::{Deserialize, Serialize};
use solana_sdk::{
account::KeyedAccount,
account::{is_executable, next_keyed_account, KeyedAccount},
account_utils::State,
decode_error::DecodeError,
entrypoint_native::InvokeContext,
instruction::InstructionError,
move_loader::id,
program_utils::DecodeError,
program_utils::{is_executable, limited_deserialize, next_keyed_account},
program_utils::limited_deserialize,
pubkey::Pubkey,
};
use thiserror::Error;