Skip to content

return TxReverted from SubmitTransaction when receipt status is 0#21220

Merged
ilija42 merged 4 commits intodevelopfrom
fix/PLEX-2535
Feb 20, 2026
Merged

return TxReverted from SubmitTransaction when receipt status is 0#21220
ilija42 merged 4 commits intodevelopfrom
fix/PLEX-2535

Conversation

@poopoothegorilla
Copy link
Contributor

EVMService.SubmitTransaction always returned TxSuccess after fetching the transaction receipt, without checking receipt.GetStatus(). When a transaction reverts on-chain (status 0), this caused chain capability DON nodes to return inconsistent results, preventing OCR consensus and producing quorum timeouts.
Check the receipt status after fetching it and return TxReverted when status is 0. Update NewChainReceipt test helper to mock GetStatus() and add a test case verifying reverted receipts produce TxReverted.
Fixes PLEX-2535 https://smartcontract-it.atlassian.net/browse/PLEX-2535

@github-actions
Copy link
Contributor

👋 poopoothegorilla, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@trunk-io
Copy link

trunk-io bot commented Feb 18, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

Failed Test Failure Summary Logs
TestSetOcr3Active The test failed because the network address was already in use, preventing the peer from starting. Logs ↗︎
TestUpdateOnRampAllowList/MCMS_disabled The test failed because it couldn't start a network host due to the port 127.0.0.1:23575 already being in use. Logs ↗︎
TestUpdateOnRampAllowList The test 'TestUpdateOnRampAllowList' failed during execution. Logs ↗︎

View Full Report ↗︎Docs

pavel-raykov
pavel-raykov previously approved these changes Feb 18, 2026
dhaidashenko
dhaidashenko previously approved these changes Feb 19, 2026
ilija42
ilija42 previously approved these changes Feb 20, 2026
@ilija42 ilija42 dismissed stale reviews from dhaidashenko, pavel-raykov, and themself via 0071ef6 February 20, 2026 12:59
@ilija42 ilija42 added this pull request to the merge queue Feb 20, 2026
@cl-sonarqube-production
Copy link

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 20, 2026
@ilija42 ilija42 added this pull request to the merge queue Feb 20, 2026
Merged via the queue into develop with commit d5f838f Feb 20, 2026
248 of 254 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.

5 participants