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

make_benchmark_block_proposals now returns BlockProposals #3264

Merged

Conversation

ndr-ds
Copy link
Contributor

@ndr-ds ndr-ds commented Feb 6, 2025

Motivation

This RpcMessage type is needed only when calling mass_broadcast, and it makes the code a bit more awkward because you have to check if it's a block proposal, when it'll always be

Proposal

Return the actual BlockProposals instead, and only convert them when needed.

Test Plan

CI + ran locally

Release Plan

  • Nothing to do / These changes follow the usual release cycle.

@ndr-ds ndr-ds requested review from afck, christos-h, jvff, ma2bd and Twey February 6, 2025 00:06
@ndr-ds ndr-ds force-pushed the 02-04-make_generated_block_proposals_cancel_each_other_out branch from 83f3775 to 646f774 Compare February 6, 2025 03:47
@ndr-ds ndr-ds force-pushed the 02-05-make_benchmark_block_proposals_now_returns_blockproposals branch from 4909c0e to b0e57b7 Compare February 6, 2025 03:47
@ndr-ds ndr-ds force-pushed the 02-04-make_generated_block_proposals_cancel_each_other_out branch from 646f774 to 66caa6a Compare February 6, 2025 13:37
@ndr-ds ndr-ds force-pushed the 02-05-make_benchmark_block_proposals_now_returns_blockproposals branch from b0e57b7 to 89a96c3 Compare February 6, 2025 13:37
@ndr-ds ndr-ds force-pushed the 02-04-make_generated_block_proposals_cancel_each_other_out branch from 66caa6a to 7936bf0 Compare February 6, 2025 14:16
@ndr-ds ndr-ds force-pushed the 02-05-make_benchmark_block_proposals_now_returns_blockproposals branch from 89a96c3 to d10477e Compare February 6, 2025 14:19
@ndr-ds ndr-ds force-pushed the 02-04-make_generated_block_proposals_cancel_each_other_out branch from 7936bf0 to 8d32a72 Compare February 6, 2025 17:31
@ndr-ds ndr-ds force-pushed the 02-05-make_benchmark_block_proposals_now_returns_blockproposals branch from d10477e to e54f165 Compare February 6, 2025 17:32
@ndr-ds ndr-ds force-pushed the 02-04-make_generated_block_proposals_cancel_each_other_out branch from 8d32a72 to 9d2a160 Compare February 6, 2025 17:42
@ndr-ds ndr-ds force-pushed the 02-05-make_benchmark_block_proposals_now_returns_blockproposals branch from e54f165 to e0c17fe Compare February 6, 2025 17:42
Copy link
Contributor Author

ndr-ds commented Feb 6, 2025

Merge activity

  • Feb 6, 1:28 PM EST: A user started a stack merge that includes this pull request via Graphite.
  • Feb 6, 1:40 PM EST: Graphite rebased this pull request as part of a merge.
  • Feb 6, 1:42 PM EST: A user merged this pull request with Graphite.

@ndr-ds ndr-ds changed the base branch from 02-04-make_generated_block_proposals_cancel_each_other_out to graphite-base/3264 February 6, 2025 18:37
@ndr-ds ndr-ds changed the base branch from graphite-base/3264 to main February 6, 2025 18:39
@ndr-ds ndr-ds force-pushed the 02-05-make_benchmark_block_proposals_now_returns_blockproposals branch from e0c17fe to c66f7fa Compare February 6, 2025 18:40
@ndr-ds ndr-ds merged commit b843259 into main Feb 6, 2025
22 checks passed
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.

2 participants