Code cleanup: In vote and stake processor (#23353)
* Enable benchmarks of vote processor. * Inlines from_keyed_account() in stake instruction.
This commit is contained in:
committed by
GitHub
parent
0ad4757159
commit
569d531573
@@ -122,7 +122,6 @@ fn bench_process_vote_instruction(
|
||||
}
|
||||
|
||||
#[bench]
|
||||
#[ignore]
|
||||
fn bench_process_vote(bencher: &mut Bencher) {
|
||||
let (num_initial_votes, slot_hashes, transaction_accounts, instruction_accounts) =
|
||||
create_accounts();
|
||||
@@ -151,7 +150,6 @@ fn bench_process_vote(bencher: &mut Bencher) {
|
||||
}
|
||||
|
||||
#[bench]
|
||||
#[ignore]
|
||||
fn bench_process_vote_state_update(bencher: &mut Bencher) {
|
||||
let (num_initial_votes, slot_hashes, transaction_accounts, instruction_accounts) =
|
||||
create_accounts();
|
||||
|
Reference in New Issue
Block a user