Skip to content
Merged
Prev Previous commit
Next Next commit
Remove some serde bounds
  • Loading branch information
ascjones committed Apr 28, 2021
commit df3da73caa136bcc73744f04ee9f6be4a488537a
8 changes: 0 additions & 8 deletions frame-metadata/src/v13.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,6 @@ impl IntoPortable for FunctionMetadata {
/// All the metadata about a function argument.
#[derive(Clone, PartialEq, Eq, Encode)]
#[cfg_attr(feature = "std", derive(Decode, Serialize, Debug))]
#[cfg_attr(
feature = "std",
serde(bound(serialize = "T::Type: Serialize, T::String: Serialize"))
)]
pub struct FunctionArgumentMetadata<T: Form = MetaForm> {
pub name: T::String,
pub ty: T::Type,
Expand All @@ -367,10 +363,6 @@ impl IntoPortable for FunctionArgumentMetadata {
/// Metadata about the pallet event type.
#[derive(Clone, PartialEq, Eq, Encode)]
#[cfg_attr(feature = "std", derive(Decode, Serialize, Debug))]
#[cfg_attr(
feature = "std",
serde(bound(serialize = "T::Type: Serialize, T::String: Serialize"))
)]
pub struct PalletEventMetadata<T: Form = MetaForm> {
pub ty: T::Type,
}
Expand Down