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

Fallible tx extraction #23

Merged
merged 6 commits into from
Sep 26, 2024
Merged

Fallible tx extraction #23

merged 6 commits into from
Sep 26, 2024

Conversation

grarco
Copy link
Contributor

@grarco grarco commented Sep 20, 2024

Based on #22 (diff: 2cabfb8).

Modifies from_namada_tx to return an error instead of ignoring missing masp txs as this should never happen (it would mean the protocol has incorrectly labeled a transaction).

Also removes the MaspTxIndex from the masp_txs field of Transaction: the collection of MaspTxRefs is already ordered with the same sequence used in protocol and we don't need the actual position of the masp tx in the batch, but just the correct sequence.

@grarco grarco marked this pull request as ready for review September 20, 2024 12:46
@grarco grarco added this pull request to the merge queue Sep 26, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to invalid changes in the merge commit Sep 26, 2024
@grarco grarco added this pull request to the merge queue Sep 26, 2024
Merged via the queue into master with commit c625ca3 Sep 26, 2024
7 checks passed
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