Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ap211unitech
Copy link
Member

πŸ“ Description

This PR addresses a bug where transactions with a Nay vote are incorrectly displayed as Aye in the Submission tab of the UI. The bug occurs during the decoding process after switching tabs, even though the underlying transaction data remains correct.
The issue is with the Vote type itself, not just the aye. Even if we change Conviction value and switch back to submission tab, it resets to None.

Encoded call - 0x1400c8000400e87648170000000000000000000000

πŸ€” Previous Behavior

image Screenshot 2025-05-09 at 12 40 17

βœ… Current Behaviour

image Screenshot 2025-05-09 at 12 42 55

πŸ–‹οΈ Note

Here is one successful transaction with current flow (on Paseo) - https://paseo.subscan.io/extrinsic/0x543a94bbf3d5d9637b1baa7adfa6909df65466709ca2a6aee80347536ab55530

Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸš€

@ap211unitech ap211unitech merged commit d743f78 into master May 12, 2025
5 checks passed
@ap211unitech ap211unitech deleted the fix/vote-component branch May 12, 2025 16:41
@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 May 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

extrinsics: wrong hex-encoded call interpretation from Decode tab

5 participants