Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with reward for an inactive node #63

Merged
merged 2 commits into from
Dec 29, 2023
Merged

Conversation

DimaStebaev
Copy link
Contributor

@DimaStebaev DimaStebaev commented Dec 29, 2023

  • fix bug in Sequence.Iterator
  • add tests
    • should not pay reward for inactive nodes
    • should calculate partial segments
  • add timestamp to events

@DimaStebaev DimaStebaev linked an issue Dec 29, 2023 that may be closed by this pull request
Copy link

codecov bot commented Dec 29, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (dbebbce) 82.71% compared to head (9808483) 83.66%.

Files Patch % Lines
contracts/Paymaster.sol 95.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #63      +/-   ##
===========================================
+ Coverage    82.71%   83.66%   +0.94%     
===========================================
  Files           16       16              
  Lines          758      765       +7     
  Branches       112      113       +1     
===========================================
+ Hits           627      640      +13     
+ Misses         131      125       -6     

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

@DimaStebaev DimaStebaev merged commit 4789075 into develop Dec 29, 2023
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 29, 2023
@DmytroNazarenko DmytroNazarenko deleted the 62-black-list branch December 29, 2023 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validator gets reward for an inactive node
2 participants