Skip to content

fix: tx success verification in event confirmer#225

Open
Aman035 wants to merge 2 commits intoaudit-fixesfrom
F-2026-16659
Open

fix: tx success verification in event confirmer#225
Aman035 wants to merge 2 commits intoaudit-fixesfrom
F-2026-16659

Conversation

@Aman035
Copy link
Copy Markdown
Member

@Aman035 Aman035 commented May 7, 2026

buildOutboundObservation is the success-path constructor - only successful destination txs reach it, which is why Success and ErrorMsg are constants.

EVM: logs come from eth_getLogs, which by chain protocol only returns logs from txs with receipt status 1.

Solana: meta.logMessages is preserved even when meta.err is set, so in principle a Program data: line from a failed tx could reach us.

I am proposing this as the fix -
Keep the success and errorMsg as it is ( ie hardcoded )
add a tx-status filter in the confirmers - tx.Meta.Err == nill for Solana - svm_event_confirmer
and receipt.Status == 1 for EVM evm_event_confirmer
The EVM one is redundant given eth_getLogs semantics but keeps the pattern symmetric.

Failure handling stays in txresolver (voteOutboundFailureAndMarkReverted), which polls receipts after broadcast and votes Success: false for reverted / not-found txs.

@Aman035 Aman035 changed the title F 2026 16659 fix: tx success verification in event confirmer May 7, 2026
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