Files
pezkuwi-wallet-android/feature-wallet-impl
pezkuwichain 9babf454c9 Fix cross-chain XCM config parsing for destination field
The XCM config JSON has a nested structure where chainId and assetId
are inside a "destination" object, but the Kotlin class expected them
at the root level. This was causing NullPointerException when parsing
cross-chain transfer configurations.

Changes:
- Add XcmTransferDestinationRemote class to represent nested destination
- Update DynamicXcmTransferRemote to use destination object instead of
  flat chainId/assetId fields
- Update Dynamic.kt mapping to access transfer.destination.chainId/assetId

This fixes cross-chain transfers between Pezkuwi, Pezkuwi Asset Hub,
and Pezkuwi People chains.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-08 05:23:23 +03:00
..