Currently we have main network asset id (ksm, etc) hardcoded as specific AssetIdOf<T> at chain_spec.
It`s not as type safe and clear, as it supposed to be.
Proposal
Replace AssetIdOf<T> value with enum, representing either main network asset id, which is handled by Currency trait or specific internal currency asset id to represent assets from other parachains.
Adjust related logic.
Issue
Currently we have main network asset id (ksm, etc) hardcoded as specific
AssetIdOf<T>
atchain_spec
. It`s not as type safe and clear, as it supposed to be.Proposal
Replace
AssetIdOf<T>
value with enum, representing either main network asset id, which is handled byCurrency
trait or specific internal currency asset id to represent assets from other parachains. Adjust related logic.