polkadot-api
polkadot-api copied to clipboard
Metadata V16 generated hash causing `Invalid Transaction: Transaction has a bad signature`
On Kusama AssetHub, signing with Talisman caused an error: Invalid Transaction: Transaction has a bad signature. I logged an issue on Talisman: https://github.com/TalismanSociety/talisman/issues/2180 The Talisman team investigated and found that is related to metadata v16. They temporarily switched back to v15. May you please investigate and fix the root cause?
This is not a bug in PAPI itself, but rather the vagueness of RFC#0078. It is tracked in https://github.com/polkadot-fellows/RFCs/issues/148, I already reported this specific issue you mentioned, and we will be working closely with the fellowship to fix it on their end, porting anything needed to our library.
We'll hotfix it for the moment and throw an error if the Metadata is not of version 15 in our library.
Thanks, appreciate the feedback @carlosala.