Commit c8136bd1 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Remove `serde` requirement from FRAME macros (#8628)



* Remove `serde` requirement from FRAME macros

Currently there is some implicit requirement on `serde` being present in
the `Cargo.toml` of a pallet when `GenesisConfig` is used. This pr
removes this requirement by using the serde attribute `serde(crate = "..")`.

* build a unique reexport of serde in impl_opaque_keys, by abusing paste doc concatenation

* Optimize

Co-authored-by: default avatarthiolliere <[email protected]>
parent 7527bd75
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment