Notice: Polkadot has migrated to AssetHub. Balances, data, referenda, and other on-chain activity has moved to AssetHub.Learn more
Set KSM/DOT Asset Rate Locations on Kusama Asset Hub (Post-Migration Restoration)
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:
Comments (0)