Skip to content

Ensure assetId is handled correctly when addSignature is used#6083

Merged
polkadot-js-bot merged 3 commits intomasterfrom
tg-fix-assetid-add-sig
Jan 29, 2025
Merged

Ensure assetId is handled correctly when addSignature is used#6083
polkadot-js-bot merged 3 commits intomasterfrom
tg-fix-assetid-add-sig

Conversation

@TarikGul
Copy link
Member

@TarikGul TarikGul commented Jan 29, 2025

polkadot-js/apps#11229 Revealed that when a signer is using assetId as a field, the SubmittableExtrinsic class calls addSignature directly on the GenerircExtrinsicPayloadV4 and bypasses the direct decoding of the assetId option type in the GenericExtrinsicPayload.

This PR fixes that and ensures the AssetId via a signer will work as expected.

@TarikGul TarikGul added the -auto label Jan 29, 2025
@polkadot-js-bot polkadot-js-bot merged commit c129dda into master Jan 29, 2025
6 checks passed
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jan 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants