Skip to content

[v3.1] ottersec: Fix reporting for multi‑tx non‑revert bundles#1178

Closed
haoranjito wants to merge 2 commits intov3.1from
hy/ottesec_fix_non-revert_bundle_report
Closed

[v3.1] ottersec: Fix reporting for multi‑tx non‑revert bundles#1178
haoranjito wants to merge 2 commits intov3.1from
hy/ottesec_fix_non-revert_bundle_report

Conversation

@haoranjito
Copy link
Contributor

@haoranjito haoranjito commented Feb 10, 2026

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 #

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 changed the base branch from master to v3.1 February 10, 2026 00:39
@haoranjito haoranjito changed the title hy/ottesec fix non revert bundle report Fix reporting for multi‑tx non‑revert bundles Feb 10, 2026
@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
@haoranjito haoranjito changed the title ottersec: Fix reporting for multi‑tx non‑revert bundles [v3.1] ottersec: Fix reporting for multi‑tx non‑revert bundles Feb 10, 2026
@haoranjito
Copy link
Contributor Author

This is not an issue. On the server side, only single tx batch is allowed when no-revert = true.

@haoranjito haoranjito closed this Feb 17, 2026
@haoranjito haoranjito deleted the hy/ottesec_fix_non-revert_bundle_report branch February 18, 2026 20:48
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