OpenAtomFoundation / xupercore

The kernel of xuperchain.
Apache License 2.0
61 stars 47 forks source link

fix consensus version bug #285

Closed qizheng09 closed 2 years ago

qizheng09 commented 2 years ago

This pr used to fix consensus version bug. The version can not rollback to provious version.

codecov-commenter commented 2 years ago

Codecov Report

Merging #285 (dbaba25) into master (f7860e1) will increase coverage by 0.06%. The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #285      +/-   ##
==========================================
+ Coverage   46.45%   46.51%   +0.06%     
==========================================
  Files         136      136              
  Lines       12143    12126      -17     
==========================================
  Hits         5641     5641              
+ Misses       5337     5320      -17     
  Partials     1165     1165              
Impacted Files Coverage Δ
kernel/consensus/pluggable_consensus.go 44.64% <33.33%> (+3.97%) :arrow_up:
bcs/consensus/tdpos/common.go 54.68% <0.00%> (-3.13%) :arrow_down:
bcs/consensus/tdpos/tdpos.go 48.30% <0.00%> (-1.94%) :arrow_down:
bcs/consensus/xpoa/xpoa.go 56.31% <0.00%> (+1.05%) :arrow_up:
bcs/network/p2pv2/server.go 52.40% <0.00%> (+1.06%) :arrow_up:

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 f7860e1...dbaba25. Read the comment docs.