OpenAtomFoundation / xupercore

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

consensus: map value was replaced by json value in fun getTdposInfos … #275

Closed aucusaga closed 2 years ago

aucusaga commented 2 years ago

Map value was replaced by JSON value in fun getTdposInfos & correct the mistake in CheckPorposal.

codecov-commenter commented 2 years ago

Codecov Report

Merging #275 (d412889) into master (f9ce2b6) will increase coverage by 0.03%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #275      +/-   ##
==========================================
+ Coverage   46.55%   46.58%   +0.03%     
==========================================
  Files         136      136              
  Lines       12085    12089       +4     
==========================================
+ Hits         5626     5632       +6     
+ Misses       5295     5293       -2     
  Partials     1164     1164              
Impacted Files Coverage Δ
bcs/consensus/tdpos/kernel_contract.go 25.49% <0.00%> (-0.41%) :arrow_down:
...el/consensus/base/driver/chained-bft/saftyrules.go 41.81% <0.00%> (ø)
bcs/consensus/xpoa/xpoa.go 53.76% <0.00%> (-1.08%) :arrow_down:
bcs/network/p2pv2/server.go 52.40% <0.00%> (+1.06%) :arrow_up:
bcs/network/p2pv1/conn.go 61.22% <0.00%> (+6.12%) :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 f9ce2b6...d412889. Read the comment docs.