Skip to content

Conversation

@miiu96
Copy link
Contributor

@miiu96 miiu96 commented Oct 15, 2025

Reasoning behind the pull request

  • Bug-fix issue related with field processingType from transaction endpoint

Proposed changes

  • Compute the processingTypeOnSource and processingTypeOnDestination fields based on the block epoch (the epoch of the block in which the transaction was executed), instead of the current epoch.

Testing procedure

  • Verify that relayed v1 and v2 transactions have the processingTypeOnSource and processingTypeOnDestination fields correctly set after the RelayedTransactionsV1V2DisableEpoch flag is activated.

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@miiu96 miiu96 self-assigned this Oct 15, 2025
return tc, nil
}

func (tth *txTypeHandler) ComputeTransactionTypeInEpoch(tx data.TransactionHandler, epoch uint32) (process.TransactionType, process.TransactionType, bool) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@github-actions
Copy link

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 0348e9764753c087623d97c16f1766cda4333de0
  • Current Branch: fix-tx-endpoint-tx-type-relayed
  • mx-chain-go Target Branch: rc/barnard-patch-3
  • mx-chain-simulator-go Target Branch: rc/barnard-patch-3
  • mx-chain-testing-suite Target Branch: rc/barnard-patch-3
  • mx-chain-simulator-go Commit Hash: 1e83241b6262cd09b5355f5bcf8c8a8b4e1408cf

🚀 Environment Variables:

  • TIMESTAMP: 2025_OCTOBER_15__15_38_41
  • PYTEST_EXIT_CODE: 0

@github-actions
Copy link

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 0348e9764753c087623d97c16f1766cda4333de0
  • Current Branch: fix-tx-endpoint-tx-type-relayed
  • mx-chain-go Target Branch: rc/barnard-patch-3
  • mx-chain-simulator-go Target Branch: rc/barnard-patch-3
  • mx-chain-testing-suite Target Branch: rc/barnard-patch-3
  • mx-chain-simulator-go Commit Hash: 1e83241b6262cd09b5355f5bcf8c8a8b4e1408cf

🚀 Environment Variables:

  • TIMESTAMP: 2025_OCTOBER_15__17_57_02
  • PYTEST_EXIT_CODE: 0

@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

❌ Patch coverage is 87.50000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.05%. Comparing base (d4525cf) to head (0348e97).
⚠️ Report is 4 commits behind head on rc/barnard-patch-3.

Files with missing lines Patch % Lines
process/coordinator/transactionType.go 86.66% 2 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                 @@
##           rc/barnard-patch-3    #7346   +/-   ##
===================================================
  Coverage               75.05%   75.05%           
===================================================
  Files                     812      812           
  Lines                  134421   134427    +6     
===================================================
+ Hits                   100891   100898    +7     
- Misses                  27809    27810    +1     
+ Partials                 5721     5719    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sstanculeanu sstanculeanu merged commit e3109b6 into rc/barnard-patch-3 Oct 17, 2025
14 checks passed
@sstanculeanu sstanculeanu deleted the fix-tx-endpoint-tx-type-relayed branch October 17, 2025 09:31
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