Skip to content

Re-enable XCM tests blocked by XcmpMessageFormat decode error by tracking @polkadot/types patch #612

@rockbmb

Description

@rockbmb

Affected tests:

  • assetHubKusama.peopleKusama.xcm.test.ts — currently failing
  • assetHubKusama.coretimeKusama.xcm.test.ts — currently skipped

Both fail with the same decodeU8a error on XcmpMessageFormat index 3 (ConcatenatedOpaqueVersionedXcm), introduced by a Kusama runtime upgrade that polkadot.js doesn't know about yet.

Upstream fix: polkadot-js/api#6255

Temporary fix: yarn patch to @polkadot/types adding the missing variant (same approach as the Chopsticks patches):

 XcmpMessageFormat: {
-    _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
+    _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals', 'ConcatenatedOpaqueVersionedXcm']
 },

TODO

Metadata

Metadata

Assignees

Labels

xcmRelated to XCM connectivity tests

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions