Skip to content

Conversation

@gfournierPro
Copy link
Contributor

No description provided.

@gfournierPro gfournierPro requested a review from a team December 18, 2024 07:53
@gfournierPro gfournierPro self-assigned this Dec 18, 2024
Copy link
Contributor

@Le-Caignec Le-Caignec left a comment

Choose a reason for hiding this comment

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

LGTM pour moi

@codecov
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.68%. Comparing base (5ef8455) to head (3cd2e22).
Report is 5 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #168   +/-   ##
========================================
  Coverage    84.68%   84.68%           
========================================
  Files           35       35           
  Lines         1084     1084           
  Branches       221      221           
========================================
  Hits           918      918           
  Misses         166      166           

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

Co-authored-by: Zied Guesmi <[email protected]>
@gfournierPro gfournierPro changed the title Remove reused code in IexecPoco2Delegate in contribute(...) function Re-use variable in IexecPoco2Delegate in contribute(...) function Dec 18, 2024
Copy link
Contributor

@james-toussaint james-toussaint left a comment

Choose a reason for hiding this comment

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

Thanks!

consensus.group[_resultHash] = group + delta;
consensus.total = consensus.total + delta;

// Check consensus
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we should/could do something here for gas footprint (outside of this PR if yes):

@gfournierPro gfournierPro merged commit 42c61c4 into develop Dec 18, 2024
5 checks passed
@gfournierPro gfournierPro deleted the feature/remove-reused-code branch January 3, 2025 15:36
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