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 WoodandBastian Köcher authored and GitHub committed 2020-01-29 13:38:46 +01:00
1 parent 556c80e792
commit 5c1c31ccd4
8 files changed
+22 -27

No files matched your search

+1 -1
View File
@@ -385,7 +385,7 @@ mod tests {
fn some_root_operation(origin) {
let _ = frame_system::ensure_root(origin);
}
#[weight = SimpleDispatchInfo::FreeNormal]
#[weight = SimpleDispatchInfo::InsecureFreeNormal]
fn some_unsigned_message(origin) {
let _ = frame_system::ensure_none(origin);
}