@@ -33,7 +33,7 @@ pub type TransactionTag = Vec<u8>;
3333
3434/// An invalid transaction validity. 
3535#[ derive( Clone ,  PartialEq ,  Eq ,  Encode ,  Decode ,  Copy ,  RuntimeDebug ) ]  
36- #[ cfg_attr( feature = "std" ,  derive( serde:: Serialize ) ) ]  
36+ #[ cfg_attr( feature = "std" ,  derive( serde:: Serialize ,  serde :: Deserialize ) ) ]  
3737pub  enum  InvalidTransaction  { 
3838	/// The call of the transaction is not expected. 
3939Call , 
@@ -113,7 +113,7 @@ impl From<InvalidTransaction> for &'static str {
113113
114114/// An unknown transaction validity. 
115115#[ derive( Clone ,  PartialEq ,  Eq ,  Encode ,  Decode ,  Copy ,  RuntimeDebug ) ]  
116- #[ cfg_attr( feature = "std" ,  derive( serde:: Serialize ) ) ]  
116+ #[ cfg_attr( feature = "std" ,  derive( serde:: Serialize ,  serde :: Deserialize ) ) ]  
117117pub  enum  UnknownTransaction  { 
118118	/// Could not lookup some information that is required to validate the transaction. 
119119CannotLookup , 
@@ -137,7 +137,7 @@ impl From<UnknownTransaction> for &'static str {
137137
138138/// Errors that can occur while checking the validity of a transaction. 
139139#[ derive( Clone ,  PartialEq ,  Eq ,  Encode ,  Decode ,  Copy ,  RuntimeDebug ) ]  
140- #[ cfg_attr( feature = "std" ,  derive( serde:: Serialize ) ) ]  
140+ #[ cfg_attr( feature = "std" ,  derive( serde:: Serialize ,  serde :: Deserialize ) ) ]  
141141pub  enum  TransactionValidityError  { 
142142	/// The transaction is invalid. 
143143Invalid ( InvalidTransaction ) , 
0 commit comments