signAndSend
does not respect modified signedTransaction
field
#11368
Labels
P4 - Needs Investigation
Requires analysis to determine cause or feasibility. Not fully understood, needs research first.
Support
Tracks issues or requests related to troubleshooting, answering questions, and user assistance.
Hey, thats Valentin from Nova Wallet
We are currently testing integration of wrapped proxy signing based on recently implemented
allowCallDataAlteration
.The
allowCallDataAlteration
itself works as expected and the payload validation logic is getting skipped. However, we noticed that an attempt to send proxy-wrapped tx is failing with "Invalid signature" response from the node.After some debugging and investigaiton we found out that despite
signedTransaction
is handled in signViaSigner in polkadot-js api library, polkadot-js apps itself doesnt usesignAndSend
which pipessignedTransaction
intoobserveSubscribe
but actually usessignAsync
andsend
separetely, which causessignedTransaction
to be lost in between sincesignViaSigner
mutates only signature and not the modified tx itself, sosend
uses combination of original extrinsic and signature for the modified transactionThe text was updated successfully, but these errors were encountered: