paritytech / substrate

Substrate: The platform for blockchain innovators
Apache License 2.0
8.39k stars 2.65k forks source link

Pallets: asset-rate rename `AssetId` to `AssetKind` #14460

Closed muharem closed 1 year ago

muharem commented 1 year ago

Rename the AssetId type parameter to AssetKind for asset-rate pallet.

The pallet is intended to be integrated to provide conversion rates for the multi-asset treasury on Polkadot. In this setup, the asset_kind will be the MultiLocation.

gilescope commented 1 year ago

AssetId for foreign assets is a Multilocation, it doesn't have to be a u32. I'm not sure about this change?

muharem commented 1 year ago

my bad, that was a different case