-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI is broken after upgrading to polkadot v0.9.11 #6349
Comments
cannot choose account it seems, and the |
The input there is a This is the actual type specification in the metadata, id there is, as displayed -
That is generated from the Rust code below and presented in the metadata - pub enum Junction {
/// An indexed parachain belonging to and operated by the context.
///
/// Generally used when the context is a Polkadot Relay-chain.
Parachain(#[codec(compact)] u32),
/// A 32-byte identifier for an account of a specific network that is respected as a sovereign endpoint within
/// the context.
///
/// Generally used when the context is a Substrate-based chain.
AccountId32 { network: NetworkId, id: [u8; 32] },
... TL;DR This may not be what you as a user expects to see (especially if used to the manually-supplied types in the past that applied types such as EDIT: Tip on any |
yes it's correct but just hard to use, also we don't have downward transfer UI I believe |
having this now @jacogr |
Westend? It needs an upgrade - the weights are broken on it. TL;DR it is runtime related, as the message suggests. Nothing the API can do. Would refer this to the relevant runtime repos. |
@jacogr what shall I do? I'm not yet very clear on this. The westend is also v0.9.11 |
Westend has broken weights for xcm. If you try and do a teleport, you will see the same. |
@jacogr I'm lost, I tried to construct it from code and I did the following: const feeAssetItem = 0;
return {
client: relayApi,
tx: relayApi.tx.xcmPallet.reserveTransferAssets,
params: [
relayApi.createType('XcmVersionedMultiLocation', {
V1: relayApi.createType('MultiLocationV1', {
parents: 0,
interior: relayApi.createType('JunctionsV1', {
X1: relayApi.createType('JunctionV1', {
Parachain: relayApi.createType('Compact<u32>', parachainId)
})
})
})
}),
relayApi.createType('XcmVersionedMultiLocation', {
V1: relayApi.createType('MultiLocationV1', {
parents: 0,
interior: relayApi.createType('JunctionsV1', {
X1: relayApi.createType('JunctionV1', {
AccountId32: {
network: relayApi.createType('NetworkId', 'Any'),
id: account.address
}
})
})
})
}),
relayApi.createType('XcmVersionedMultiAssets', {
V1: [
relayApi.createType(' XcmV1MultiAsset', {
id: relayApi.createType('XcmAssetId', {
Concrete: relayApi.createType('MultiLocationV1', {
parents: 0,
interior: relayApi.createType('JunctionsV1', 'Here')
})
}),
fun: relayApi.createType('FungibilityV1', {
Fungible: mulDecs(value, decimals).toString()
})
})
]
}),
feeAssetItem
]
};
} |
I'd like to construct v2 message because I heard that it's audited, but sadly |
our westend is located at: https://github.com/parallel-finance/polkadot/tree/parallel-westend-v0.9.11, do you mind having a look on what's happening? The only important change is: parallel-finance/polkadot@065b5ba |
I'm trying with kusama-local now |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
The text was updated successfully, but these errors were encountered: