polkadot-api icon indicating copy to clipboard operation
polkadot-api copied to clipboard

Metadata V16 generated hash causing `Invalid Transaction: Transaction has a bad signature`

Open claravanstaden opened this issue 2 months ago • 2 comments

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?

claravanstaden avatar Sep 30 '25 11:09 claravanstaden

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.

carlosala avatar Sep 30 '25 12:09 carlosala

Thanks, appreciate the feedback @carlosala.

claravanstaden avatar Sep 30 '25 12:09 claravanstaden