Skip to content

Revert supply changes based on execution results#7385

Merged
miiu96 merged 8 commits into
feat/supernova-async-execfrom
revert-esdt-supply-based-on-execution-results
Nov 4, 2025
Merged

Revert supply changes based on execution results#7385
miiu96 merged 8 commits into
feat/supernova-async-execfrom
revert-esdt-supply-based-on-execution-results

Conversation

@miiu96

@miiu96 miiu96 commented Oct 31, 2025

Copy link
Copy Markdown
Contributor

Reasoning behind the pull request

  • Revert the supply changes based on the execution results from header v3

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 31, 2025
@codecov

codecov Bot commented Oct 31, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.66667% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.31%. Comparing base (d741ef1) to head (7f459ee).
⚠️ Report is 10 commits behind head on feat/supernova-async-exec.

Files with missing lines Patch % Lines
dblookupext/esdtSupply/esdtSuppliesProcessor.go 89.47% 2 Missing and 2 partials ⚠️
dblookupext/factory/historyRepositoryFactory.go 50.00% 1 Missing and 1 partial ⚠️
process/block/metablock.go 33.33% 1 Missing and 1 partial ⚠️
process/block/shardblock.go 33.33% 1 Missing and 1 partial ⚠️
...xecution/executionTrack/executionResultsTracker.go 88.88% 1 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##           feat/supernova-async-exec    #7385   +/-   ##
==========================================================
  Coverage                      77.31%   77.31%           
==========================================================
  Files                            867      867           
  Lines                         116890   116904   +14     
==========================================================
+ Hits                           90369    90383   +14     
+ Misses                         20564    20562    -2     
- Partials                        5957     5959    +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.

…d-on-execution-results

# Conflicts:
#	common/common.go
#	process/asyncExecution/executionTrack/error.go
#	process/interface.go
#	testscommon/executionTrack/executionResultsTrackerStub.go
sstanculeanu
sstanculeanu previously approved these changes Nov 3, 2025
Comment thread process/block/baseProcess.go Outdated
Comment on lines +1115 to +1120
err := bp.executionResultsTracker.CleanConfirmedExecutionResults(header)
if err != nil {
return err
}

return nil

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
err := bp.executionResultsTracker.CleanConfirmedExecutionResults(header)
if err != nil {
return err
}
return nil
return bp.executionResultsTracker.CleanConfirmedExecutionResults(header)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

func TestProcessLogs_RevertChangesHeaderV3(t *testing.T) {
t.Parallel()

t.Run("cannot get mb headers should err", func(t *testing.T) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

parallel run for inner tests?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

Comment on lines +21 to +22
// ErrExecutionResultMissmatch signals an execution result missmatch
ErrExecutionResultMissmatch = errors.New("execution result mismatch")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
// ErrExecutionResultMissmatch signals an execution result missmatch
ErrExecutionResultMissmatch = errors.New("execution result mismatch")
// ErrExecutionResultMismatch signals an execution result mismatch
ErrExecutionResultMismatch = errors.New("execution result mismatch")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

@miiu96 miiu96 merged commit 7376929 into feat/supernova-async-exec Nov 4, 2025
11 checks passed
@miiu96 miiu96 deleted the revert-esdt-supply-based-on-execution-results branch November 4, 2025 14:51
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.

3 participants