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 genesis DS block hash not correct problem #1798

Merged
merged 1 commit into from
Sep 5, 2019
Merged

Conversation

ShengguangXiao
Copy link
Contributor

@ShengguangXiao ShengguangXiao commented Sep 5, 2019

Description

Fix genesis DS block hash not correct problem, and also add auto test case to verify in the future in the change break block hash calculation.

Backward Compatibility

  • This is not a breaking change
  • This is a breaking change

Review Suggestion

Status

Implementation

  • ready for review

Integration Test (Core Team)

  • local machine test
  • small-scale cloud test

@ShengguangXiao ShengguangXiao self-assigned this Sep 5, 2019
@ShengguangXiao ShengguangXiao added the Ready Ready for review label Sep 5, 2019
@ShengguangXiao ShengguangXiao added this to PRs in development in Core via automation Sep 5, 2019
Core automation moved this from PRs in development to PRs approved - ready to merge! Sep 5, 2019
@codecov-io
Copy link

Codecov Report

Merging #1798 into master will increase coverage by 0.23%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1798      +/-   ##
==========================================
+ Coverage   33.75%   33.98%   +0.23%     
==========================================
  Files         274      274              
  Lines       33750    33757       +7     
==========================================
+ Hits        11391    11473      +82     
+ Misses      22359    22284      -75
Impacted Files Coverage Δ
src/common/Constants.h 100% <ø> (ø) ⬆️
src/libLookup/Synchronizer.cpp 15.11% <100%> (+15.11%) ⬆️
tests/Message/Test_Messenger_Compatibility.cpp 100% <100%> (ø) ⬆️
src/depends/common/FixedHash.h 84% <0%> (+2%) ⬆️
src/libUtils/DataConversion.h 84.37% <0%> (+12.5%) ⬆️
src/libData/BlockData/BlockHeader/BlockHashSet.h 55.26% <0%> (+18.42%) ⬆️
src/depends/common/CommonData.cpp 21.91% <0%> (+21.91%) ⬆️
src/libUtils/SWInfo.h 69.56% <0%> (+56.52%) ⬆️
src/libData/BlockData/BlockHeader/DSBlockHeader.h 88.88% <0%> (+83.33%) ⬆️
... and 1 more

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 d5cf552...e122bb5. Read the comment docs.

@ansnunez ansnunez merged commit 634a20b into master Sep 5, 2019
Core automation moved this from PRs approved - ready to merge! to PRs done (merged) Sep 5, 2019
@PirateGypsy
Copy link

PirateGypsy commented Sep 5, 2019 via email

@ShengguangXiao ShengguangXiao deleted the fix/ds_hash branch September 9, 2019 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready Ready for review
Projects
Core
  
PRs done (merged)
Development

Successfully merging this pull request may close these issues.

None yet

6 participants