OpenAtomFoundation / xupercore

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

Consensus::fix the updateConsensus bug when modifying the consensus c… #189

Closed aucusaga closed 3 years ago

aucusaga commented 3 years ago

…onfig from tdposA to tdposB.

codecov-commenter commented 3 years ago

Codecov Report

Merging #189 (0a47d3a) into master (ad573e2) will decrease coverage by 0.18%. The diff coverage is 45.79%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #189      +/-   ##
==========================================
- Coverage   48.81%   48.62%   -0.19%     
==========================================
  Files         124      124              
  Lines       10639    10653      +14     
==========================================
- Hits         5193     5180      -13     
- Misses       4349     4384      +35     
+ Partials     1097     1089       -8     
Impacted Files Coverage Δ
bcs/consensus/tdpos/common.go 67.18% <ø> (ø)
kernel/consensus/pluggable_consensus.go 41.74% <19.04%> (-2.71%) :arrow_down:
bcs/consensus/tdpos/status.go 26.53% <20.51%> (-35.01%) :arrow_down:
bcs/consensus/tdpos/tdpos.go 40.50% <50.00%> (ø)
...el/consensus/base/driver/chained-bft/saftyrules.go 47.27% <60.00%> (+1.98%) :arrow_up:
bcs/consensus/tdpos/kernel_contract.go 52.48% <68.42%> (+0.45%) :arrow_up:
bcs/consensus/tdpos/schedule.go 47.96% <100.00%> (+1.45%) :arrow_up:
bcs/consensus/xpoa/xpoa.go 44.81% <0.00%> (-1.89%) :arrow_down:
kernel/consensus/base/driver/chained-bft/smr.go 52.41% <0.00%> (ø)

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 ad573e2...0a47d3a. Read the comment docs.