mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-28 16:38:02 +00:00
9babf454c9
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>