Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
5e00d361
Commit
5e00d361
authored
2 years ago
by
Michal Kucharczyk
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
unsafe_pruning flag removed (#12385)
parent
af579524
Branches
gh-readonly-queue/master/pr-4774-ad8620922bd7c0477b25c7dfd6fc233641cb27ae
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
substrate/client/cli/src/config.rs
+0
-11
0 additions, 11 deletions
substrate/client/cli/src/config.rs
substrate/client/cli/src/params/import_params.rs
+0
-12
0 additions, 12 deletions
substrate/client/cli/src/params/import_params.rs
with
0 additions
and
23 deletions
substrate/client/cli/src/config.rs
+
0
−
11
View file @
5e00d361
...
...
@@ -659,17 +659,6 @@ pub trait CliConfiguration<DCV: DefaultConfigurationValues = ()>: Sized {
}
}
if
self
.import_params
()
.map_or
(
false
,
|
p
|
{
#[allow(deprecated)]
p
.unsafe_pruning
})
{
// according to https://github.com/substrate/issues/8103;
warn!
(
"WARNING:
\"
--unsafe-pruning
\"
CLI-flag is deprecated and has no effect.
\
In future builds it will be removed, and providing this flag will lead to an error."
);
}
Ok
(())
}
}
...
...
This diff is collapsed.
Click to expand it.
substrate/client/cli/src/params/import_params.rs
+
0
−
12
View file @
5e00d361
...
...
@@ -41,18 +41,6 @@ pub struct ImportParams {
#[clap(flatten)]
pub
database_params
:
DatabaseParams
,
/// THIS IS A DEPRECATED CLI-ARGUMENT.
///
/// It has been preserved in order to not break the compatibility with the existing scripts.
/// Enabling this option will lead to a runtime warning.
/// In future this option will be removed completely, thus specifying it will lead to a start
/// up error.
///
/// Details: <https://github.com/paritytech/substrate/issues/8103>
#[clap(long)]
#[deprecated
=
"According to https://github.com/paritytech/substrate/issues/8103"
]
pub
unsafe_pruning
:
bool
,
/// Method for executing Wasm runtime code.
#[clap(
long
=
"wasm-execution"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment