This proposal restores the KSM/DOT asset rate mappings on Kusama Asset Hub, which were not mapped during the migration and therefore need to be redefined. Since the asset IDs (XCM locations) were not re-anchored, they cannot be used correctly in their current form. These rates are required for track validation of future treasury calls that reference KSM/DOT conversions.
The batch call performs the following:
- Removes obsolete KSM rate entries from earlier configurations.
- Sets new asset rate mappings between Kusama and Polkadot Asset Hubs.
- Defines a KSM/DOT rate of 4x, consistent with the pre-migration configuration.
Each rate is represented as a Fixed-Point 128-bit unsigned integer, using a divisor of 10¹⁸.
Internally, the type is a wrapper around u128 and decodes accordingly.
The provided tests can be used to reason about and verify the rate values:
https://github.com/paritytech/polkadot-sdk/compare/muharem-rates-test#diff-6a80cbb1bb6f62b0c40f61614fd0a74f924f721431e7f2c818a2543a739041daR83