Un-deprecate ValidateUnsigned (#5003)

* Un-deprecate ValidateUnsigned.

* Bump runtime.

* Bump runtime.

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Tomasz Drwięga
2020-02-21 10:42:55 +01:00
committed by GitHub
parent 1dd715547d
commit e8871e0327
8 changed files with 1 additions and 22 deletions
@@ -20,7 +20,6 @@
use crate::traits::{
self, Member, MaybeDisplay, SignedExtension, Dispatchable,
};
#[allow(deprecated)]
use crate::traits::ValidateUnsigned;
use crate::transaction_validity::TransactionValidity;
@@ -54,7 +53,6 @@ where
self.signed.as_ref().map(|x| &x.0)
}
#[allow(deprecated)] // Allow ValidateUnsigned
fn validate<U: ValidateUnsigned<Call = Self::Call>>(
&self,
info: Self::DispatchInfo,
@@ -69,7 +67,6 @@ where
}
}
#[allow(deprecated)] // Allow ValidateUnsigned
fn apply<U: ValidateUnsigned<Call=Self::Call>>(
self,
info: Self::DispatchInfo,