smartcontractkit / chainlink-polkadot

Other
140 stars 65 forks source link

Extract new `FeedMetadata` type from `FeedConfig` #89

Open mattsse opened 3 years ago

mattsse commented 3 years ago

The FeedConfig type is currently considerably large and drags along description, decimals, that are probably not used very often. therefor it would make sense to extract them to a separate storage map with type FeedMetadata

See also AssetMetadata https://github.com/paritytech/substrate/blob/master/frame/assets/src/types.rs#L91