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

chore: remove auto-seal consensus #12385

Merged
merged 3 commits into from
Nov 7, 2024
Merged

chore: remove auto-seal consensus #12385

merged 3 commits into from
Nov 7, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Nov 7, 2024

Closes #12375

@github-actions github-actions bot added C-debt A clean up/refactor of existing code C-enhancement New feature or request labels Nov 7, 2024
if let Some(interval) = self.node_config().dev.block_time {
MiningMode::interval(interval)
} else if let Some(max_transactions) = self.node_config().dev.block_max_transactions {
Copy link
Member Author

Choose a reason for hiding this comment

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

block_max_transactions is not currently respected as we're delegating all building directly to payload builder

should we re-introduce this as payload builder parameter?

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

amazing, rip bozo

@mattsse mattsse added this pull request to the merge queue Nov 7, 2024
@@ -210,47 +208,7 @@ where
let pipeline_exex_handle =
exex_manager_handle.clone().unwrap_or_else(ExExManagerHandle::empty);
let (pipeline, client) = if ctx.is_dev() {
Copy link
Member

Choose a reason for hiding this comment

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

this if-else can be simplified too

Merged via the queue into main with commit d19032f Nov 7, 2024
42 checks passed
@mattsse mattsse deleted the klkvr/rm-auto-seal branch November 7, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-debt A clean up/refactor of existing code C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate auto-seal-consesnus crate
3 participants