Revamp some of the weights (#4759)

* Remove free transaction dos vectors.

* Bump spec version

* Indentation.

* Update frame/support/src/weights.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Gavin Wood
2020-01-29 13:38:46 +01:00
committed by GitHub
parent 556c80e792
commit 5c1c31ccd4
8 changed files with 22 additions and 27 deletions
+1 -1
View File
@@ -842,7 +842,7 @@ decl_module! {
/// - `S + 2` storage mutations.
/// - One event.
/// # </weight>
#[weight = SimpleDispatchInfo::FreeOperational]
#[weight = SimpleDispatchInfo::FixedNormal(100_000)]
fn kill_identity(origin, target: <T::Lookup as StaticLookup>::Source) {
T::ForceOrigin::try_origin(origin)
.map(|_| ())