Set Statemint xcm types to v4 to patch decoding (#6208)

* Set Statemint xcm types to v4 to patch decoding

* Add comment
This commit is contained in:
Tarik Gul
2025-09-15 11:14:22 -04:00
committed by GitHub
parent 1234219c5b
commit a9c11efecb
+5 -1
View File
@@ -53,10 +53,14 @@ export const versioned: OverrideVersionedType[] = [
TAssetConversion: 'Option<AssetId>'
}
},
// ref: https://github.com/polkadot-js/api/pull/6208
// The following patches an issue where polkadot asset hub block 9686187, can't be decoding using xcm v5
// mappings.
{
minmax: [1002000, undefined],
types: {
Weight: 'WeightV1'
Weight: 'WeightV1',
...mapXcmTypes('V4')
}
}
// ,