Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove tx inputs sorting by index #1444

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

msarcev
Copy link
Collaborator

@msarcev msarcev commented Apr 24, 2024

Description of change

This PR introduces sorting of the INPUTs of a TX payload based on the output (that makes that input on the input side) index, which should not be done because the ordering needs to exactly match the unlocks (sorting on the output side by index is still needed).

  • Remove index sorting

Type of change

  • Bug fix (a non-breaking change which fixes an issue)

Copy link
Member

@begonaalvarezd begonaalvarezd left a comment

Choose a reason for hiding this comment

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

🙌🏼

@begonaalvarezd begonaalvarezd merged commit 73453fa into main Apr 24, 2024
6 checks passed
@begonaalvarezd begonaalvarezd deleted the fix/remove-tx-input-index-sorting branch April 24, 2024 15:16
begonaalvarezd added a commit that referenced this pull request Apr 25, 2024
…1418)

* fix: Apply fix for alias reference unlock not pre expanding (issues #1121) to NOVA

* feat: Remove preExpandConfig logic around StateController for Nova

* feat: Rename function to singular

* chore: Apply #1444 fix to Nova (Remove tx inputs sorting by index)

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants