Skip to content
  • Michal Kucharczyk's avatar
    frame: support for serde added (#14261) · dc716127
    Michal Kucharczyk authored
    
    
    * frame: support for serde added
    
    - enabled `serde` features in dependent crates, no gate feature introduced, linker should do the job and strip unused code.
    
    - frame::staking: added impl of `serde::Serialize, serde::Deserialize` for `enum Forcing`
    
    - primitives::runtime: impl_opaque_keys macro provides `Serialize/Deserialize` impl if `serde` is enabled
    
    - primitives::staking: added impl of `serde::Serialize`, `serde::Deserialize` for `enum StakerStatus`
    
    * frame::support: serde for pallets' GenesisConfig enabled in no-std
    
    * Cargo.lock updated
    
    * Update primitives/staking/Cargo.toml
    
    Co-authored-by: default avatarBastian Köcher <[email protected]>
    
    * fix
    
    * Cargo.lock update + missed serde/std in beefy
    
    ---------
    
    Co-authored-by: default avatarBastian Köcher <[email protected]>
    dc716127