open-runtime-module-library icon indicating copy to clipboard operation
open-runtime-module-library copied to clipboard

orml_traits::parameter_type_with_key looks doesn't support one more key-value definition.

Open Dengjianping opened this issue 4 years ago • 0 comments

If this macro supports constant k-v definition, it would be nice.

orml_traits::parameter_type_with_key! {
    pub KV1: |key| => val {};
    pub KV2: |key| => val {};
    ...
    pub KVn: |key| => val {};
}

Dengjianping avatar Mar 22 '21 06:03 Dengjianping