You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the execution of the v1.3.4 upgrade, a migration of Asset Hub Polkadot’s and Asset Hub Kusama's foreign assets type from v3 to v4 locations was introduced.
🚨 Breaking change: 🚨
The following PR changed the Interior.X1 type from Junction to [Junction;1]. While the transaction encoding is the same, it breaks the API of PolkadotJS.
We recommend that all ecosystem builders that are using PJS API upgrade their codebase to support the API change. That is, if you are interacting with Asset Hub foreign assets (or any v4 location for that matter), you should update Interior.X1 to be an array with only one item.
For those of you using PAPI, there's no need to change anything, as the library itself internally changed the type back from an array to a single element, making it backwards compatible.
Many thanks.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: