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
feat(core-blockchain): replay command #2526
Conversation
The ci/circleci: test-node11-e2e job is failing as of cf6a2abfe327f5d7468ccdc24a8166df054a76e4. Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! |
The ci/circleci: test-node11-unit job is failing as of bb6c0bc8c37674d32937204545284bc1dd7318ef. Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! |
Codecov Report
@@ Coverage Diff @@
## develop #2526 +/- ##
===========================================
- Coverage 67.86% 67.13% -0.73%
===========================================
Files 394 399 +5
Lines 8664 8758 +94
Branches 450 413 -37
===========================================
Hits 5880 5880
- Misses 2726 2821 +95
+ Partials 58 57 -1
Continue to review full report at Codecov.
|
Summary
Resolves #1986.
This PR adds a new command to replay blocks in-memory from the local database.
A replay can be started with the following command:
./bin/run chain:replay
or optionally a target height can be passed to only replay until a certain height e.g.
./bin/run chain:replay --targetHeight 100
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Does this PR release a new version?
Checklist