-
Notifications
You must be signed in to change notification settings - Fork 285
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(core-blockchain): only shift milestoneHeights[] if at that height #2904
Conversation
The previous code would remove entires from milestoneHeights[] even if no milestone is hit (due to e.g. "currentTransactionsCount >= 150" being true).
Codecov Report
@@ Coverage Diff @@
## develop #2904 +/- ##
========================================
Coverage 68.08% 68.08%
========================================
Files 405 405
Lines 9733 9733
Branches 502 460 -42
========================================
Hits 6627 6627
- Misses 3065 3069 +4
+ Partials 41 37 -4
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## develop #2904 +/- ##
========================================
Coverage 68.08% 68.08%
========================================
Files 405 405
Lines 9733 9733
Branches 502 460 -42
========================================
Hits 6627 6627
- Misses 3065 3069 +4
+ Partials 41 37 -4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea why some of the checks are failing. (@faustbrian ?)
LGTM otherwise.
…k-chained-verbose * ArkEcosystem/core/develop: test: mock missing wsServer release: 2.5.24 (#2908) fix(core-p2p): terminate blocked client connections fix(core-p2p): drop connections with malformed messages fix(core-api): return block timestamp for v2 transactions (#2906) fix(core-blockchain): only shift milestoneHeights[] if at that height (#2904) fix(crypto): use `anyOf` for transactions schema (#2894) fix(core-webhooks): cast params in condition checks (#2887) feat(core-p2p): use compression on the p2p level (#2886)
…ly-chained-check * ArkEcosystem/core/develop: test: mock missing wsServer release: 2.5.24 (#2908) fix(core-p2p): terminate blocked client connections fix(core-p2p): drop connections with malformed messages fix(core-api): return block timestamp for v2 transactions (#2906) fix(core-blockchain): only shift milestoneHeights[] if at that height (#2904) fix(crypto): use `anyOf` for transactions schema (#2894) fix(core-webhooks): cast params in condition checks (#2887) feat(core-p2p): use compression on the p2p level (#2886)
The previous code would remove entires from milestoneHeights[] even if
no milestone is hit (due to e.g. "currentTransactionsCount >= 150" being
true).
A summary of what changes this PR introduces and why they were made.
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Does this PR release a new version?
If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:
develop
branch, not themaster
branchIf adding a new feature, the PR's description includes: