Closed asiniscalchi closed 4 weeks ago
it seems it's the api the problem: I run locally polkadot.js and it works with the following:
but the one published is not working with:
So it seems v10.12.6 working. v13.2.1 not working.
find out that we are missing some metadata LAOS side:
2024-09-26 11:26:37 PORTABLEREGISTRY: Unable to determine runtime Call type, cannot inspect sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic
the error was exposed by this delta : https://github.com/polkadot-js/api/compare/v13.0.1...v13.1.1
It should be the usage of metadata V15.
Thank you for such a great debug 🙏🏽 The update to v15 is in the works. So hopefully soon all will be 🚀 😊
Hi @piggydoughnut is there any tool that could check if our metadata is correct ? I really scared that the problem is our side but I dunno how to verify it. ( and it's a kind of critic bug for us ... our users can't interact with the chain )
Hey @asiniscalchi, sorry for delay, this will solve crashing explorer - https://github.com/polkadot-js/apps/pull/10967 Should be up soon.
Investigating the format issue now.
Hi @piggydoughnut, thanks for your help on this issue! The patch solved the crash issue. In case it helps, these are the final issues still remaining:
Let us know if there's anything we can help with. The LAOS team would definitely prioritise providing support.
Thanks! Toni
Hai @tonimateos !
Thanks a lot for providing the information about the other issues - it certainly helped :)
All the fixes are pushed now, everything should work fine after the next api
release which should be soonish (2 weeks max)
P.S. Here are sneak peeks of the fixes 😉
Hi @piggydoughnut , I just realized the new version was deployed and the parsing of the H160 addresses seems to be fixed. Thanks! However another problem arised: Subwallet and Talisman are unable to sign transaction and fail with the following error:
@asiniscalchi I suspect it is still on our side, will check and let you know asap.
Hey @asiniscalchi
We found the source of the issue. To get straight to the point, the most straightforward solution would be if Laos adds the runtime api metadata to V15 Metadata.
The issue is that there is a runtime call here being called in the api when signing happens. Laos has support for it, but because its not in the metadata it requires the api to use the hardcoded generation here which resolves to using AccountId
which is Accountid32
.
We'll code an hotfix as soon as possible. Thanks a lot for the help.
We have a fix: https://github.com/freeverseio/laos/pull/821
hotfix deployed in LAOS mainnet ... all is working. Thanks for the help.
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.
all
laos
network are experiencing the following error on connection:https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Flaos-rpc.dwellir.com#/accounts
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.laossigma.laosfoundation.io#/accounts