Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BankingStage Refactor: Committer Simplify #29958

Conversation

apfitzge
Copy link
Contributor

Problem

Some clean up in committer.rs.

Summary of Changes

Fixes #

@apfitzge apfitzge force-pushed the refactor/banking_stage-committer-simplify branch from 1ba5b28 to bbf918e Compare January 30, 2023 20:18
@apfitzge apfitzge force-pushed the refactor/banking_stage-committer-simplify branch from bbf918e to 59afe63 Compare February 1, 2023 19:25
@apfitzge apfitzge marked this pull request as ready for review February 1, 2023 19:25
@@ -34,7 +34,6 @@ impl Committer {
batch: &TransactionBatch,
loaded_transactions: &mut [TransactionLoadResult],
execution_results: Vec<TransactionExecutionResult>,
sanitized_txs: &[SanitizedTransaction],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to have lesser arguments

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ yeah, already passing the batch which contains the sanitized transactions

Copy link
Contributor

@tao-stones tao-stones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm,

@apfitzge apfitzge merged commit c549129 into solana-labs:master Feb 1, 2023
@apfitzge apfitzge deleted the refactor/banking_stage-committer-simplify branch February 1, 2023 23:44
"find_and_send_votes",
);
execute_and_commit_timings.find_and_send_votes_us = find_and_send_votes_time.as_us();
let ((), find_and_send_votes_us) = measure_us!({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ for ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants