Refactor: move simple vote parsing to runtime (#22537)
This commit is contained in:
@ -594,6 +594,7 @@ mod tests {
|
||||
create_genesis_config, create_genesis_config_with_vote_accounts, GenesisConfigInfo,
|
||||
ValidatorVoteKeypairs,
|
||||
},
|
||||
vote_transaction::VoteTransaction,
|
||||
},
|
||||
solana_sdk::{
|
||||
account::ReadableAccount,
|
||||
@ -611,7 +612,7 @@ mod tests {
|
||||
transaction::{self, Transaction},
|
||||
},
|
||||
solana_stake_program::stake_state,
|
||||
solana_vote_program::vote_state::{Vote, VoteTransaction},
|
||||
solana_vote_program::vote_state::Vote,
|
||||
std::{
|
||||
sync::{
|
||||
atomic::{AtomicBool, AtomicU64},
|
||||
|
@ -30,6 +30,7 @@ use {
|
||||
bank::{Bank, TransactionLogInfo},
|
||||
bank_forks::BankForks,
|
||||
commitment::{BlockCommitmentCache, CommitmentSlots},
|
||||
vote_transaction::VoteTransaction,
|
||||
},
|
||||
solana_sdk::{
|
||||
account::{AccountSharedData, ReadableAccount},
|
||||
@ -40,7 +41,6 @@ use {
|
||||
transaction,
|
||||
},
|
||||
solana_transaction_status::ConfirmedBlock,
|
||||
solana_vote_program::vote_state::VoteTransaction,
|
||||
std::{
|
||||
cell::RefCell,
|
||||
collections::{HashMap, VecDeque},
|
||||
|
Reference in New Issue
Block a user