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(core-snapshots): reset unfinished round after import #2486

Merged
merged 3 commits into from
Apr 26, 2019
Merged

fix(core-snapshots): reset unfinished round after import #2486

merged 3 commits into from
Apr 26, 2019

Conversation

spkjp
Copy link
Contributor

@spkjp spkjp commented Apr 26, 2019

Summary

When the snapshot manager finishes an import it is supposed to reset an unfinished round by default, but because we passed the wrong parameter it stopped working.

What kind of change does this PR introduce?

  • Bugfix
  • New feature
  • Refactoring / Performance Improvements
  • Build-related changes
  • Documentation
  • Tests / Continuous Integration
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
    • All tests are passing
    • All benchmarks are passing without any major regressions
    • Sync from 0 works on mainnet
    • Sync from 0 works on devnet
    • Starting a new network and forging on it work
    • Explorer is fully functional
    • Wallets are fully functional
  • No

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@codecov-io
Copy link

codecov-io commented Apr 26, 2019

Codecov Report

Merging #2486 into master will decrease coverage by 0.02%.
The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2486      +/-   ##
==========================================
- Coverage    66.1%   66.07%   -0.03%     
==========================================
  Files         400      400              
  Lines        8611     8614       +3     
  Branches      435      436       +1     
==========================================
  Hits         5692     5692              
- Misses       2874     2877       +3     
  Partials       45       45
Impacted Files Coverage Δ
packages/core-snapshots/src/manager.ts 0% <0%> (ø) ⬆️
...kages/crypto/src/transactions/serializers/block.ts 94.59% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6986636...8d73119. Read the comment docs.

@faustbrian faustbrian merged commit ac4ca4d into ArkEcosystem:master Apr 26, 2019
vasild added a commit that referenced this pull request Apr 26, 2019
…tion-expiration-in-height

* ArkEcosystem/core/develop:
  fix(core): parse only the last line of pm2 stdout (#2484)
  release: 2.3.18 (#2488)
  fix(core-snapshots): reset unfinished round after import (#2486)
  fix(core-forger): update configManager height (#2487)
  release: 2.3.16 (#2483)
  fix(core-database): initialize height on startup (#2482)
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