colorfulnotion / xcm-global-registry

XCM Global Asset Registry (GAR) for Polkadot and Kusama Ecosystem
Apache License 2.0
25 stars 7 forks source link

Fix Incorrect XCM Junctions #51

Open marshacb opened 3 weeks ago

marshacb commented 3 weeks ago

It seems the following commits have introduced invalid xcm junctions to some xcmV1MultiLocations:

An example of this can be seen here where the GeneralKey junction is an array ([{"generalKey": {"length": 2, "data": "0x0101000000000000000000000000000000000000000000000000000000000000"}}] when it should be the second index of the X2 Junctions type as an object {"generalKey": {"length": 2, "data": "0x0101000000000000000000000000000000000000000000000000000000000000"}}

dudo50 commented 6 days ago

cc @mkchungs , any progress on this?