Skip to content

ottersec: Fix reporting for multi‑tx non‑revert bundles#1181

Draft
haoranjito wants to merge 2 commits intomasterfrom
hy/ottesec_fix_non-revert_bundle_report_master
Draft

ottersec: Fix reporting for multi‑tx non‑revert bundles#1181
haoranjito wants to merge 2 commits intomasterfrom
hy/ottesec_fix_non-revert_bundle_report_master

Conversation

@haoranjito
Copy link
Contributor

Problem

Reporting for non revert batches was incorrect: it always returned the
first transaction's result and ignored the rest. This change updates
reporting so non‑revert multi‑tx batches return a single Committed
result containing all transaction results when the batch fully commits.
If any transaction fails, the response stays NotCommitted with the first
failure index (the only shape the AtomicTxnBatchResult proto can
represent for mixed outcomes).

This is an intentional tradeoff given the proto limitation: it cannot
encode partial failures alongside committed results.

Summary of Changes

Fixes #

@haoranjito haoranjito changed the title Fix reporting for multi‑tx non‑revert bundles ottersec: Fix reporting for multi‑tx non‑revert bundles Feb 10, 2026
@haoranjito haoranjito self-assigned this Feb 10, 2026
Reporting for non revert batches was incorrect: it always returned the
first transaction's result and ignored the rest. This change updates
reporting so non‑revert multi‑tx batches return a single Committed
result containing all transaction results when the batch fully commits.
If any transaction fails, the response stays NotCommitted with the first
failure index (the only shape the AtomicTxnBatchResult proto can
represent for mixed outcomes).

This is an intentional tradeoff given the proto limitation: it cannot
encode partial failures alongside committed results.
@haoranjito haoranjito force-pushed the hy/ottesec_fix_non-revert_bundle_report_master branch from 56139f5 to 678d7ab Compare February 10, 2026 13:42
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.

1 participant