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

[stable2409] Backport #7504 #7509

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion polkadot/cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

pub use polkadot_node_primitives::NODE_VERSION;

use clap::Parser;
use clap::{ArgAction, Parser};
use std::path::PathBuf;

#[allow(missing_docs)]
Expand Down Expand Up @@ -151,6 +151,16 @@ pub struct RunCmd {
/// TESTING ONLY: disable the version check between nodes and workers.
#[arg(long, hide = true)]
pub disable_worker_version_check: bool,
<<<<<<< HEAD
=======

/// Enable approval-voting message processing in parallel.
///
/// This is a flag used for gradually enabling approval-voting-parallel in production,
/// should not be used unless explicitly advised to. It will be removed in the future.
#[arg(long, default_value = "true", action=ArgAction::Set)]
pub enable_approval_voting_parallel: bool,
>>>>>>> e5e0a6d3 (enable approval-voting-parallel on polkadot (#7504))
}

#[allow(missing_docs)]
Expand Down
11 changes: 11 additions & 0 deletions prdoc/pr_7504.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
title: Enable approval-voting-parallel by default on polkadot

doc:
- audience: Node Dev
description: |
Enable approval-voting-parallel by default on polkadot
crates:
- name: polkadot-service
bump: patch
- name: polkadot-cli
bump: patch
Loading