OpenAtomFoundation / xupercore

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

xpoa: parameter version works compatibly with int and string type #286

Closed aucusaga closed 2 years ago

aucusaga commented 2 years ago

Fixes # (issue)

Type of change

Please delete options that are not relevant.

codecov-commenter commented 2 years ago

Codecov Report

Merging #286 (f061dea) into master (a5c5c91) will increase coverage by 0.02%. The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #286      +/-   ##
==========================================
+ Coverage   46.49%   46.52%   +0.02%     
==========================================
  Files         136      136              
  Lines       12126    12132       +6     
==========================================
+ Hits         5638     5644       +6     
+ Misses       5321     5319       -2     
- Partials     1167     1169       +2     
Impacted Files Coverage Δ
bcs/consensus/xpoa/schedule.go 48.64% <ø> (+0.82%) :arrow_up:
bcs/consensus/xpoa/common.go 77.41% <60.00%> (-8.30%) :arrow_down:
bcs/consensus/xpoa/xpoa.go 55.26% <100.00%> (+1.05%) :arrow_up:
bcs/contract/xvm/code_manager.go 63.63% <0.00%> (-2.73%) :arrow_down:
bcs/network/p2pv1/server.go 56.42% <0.00%> (-1.43%) :arrow_down:
bcs/consensus/tdpos/tdpos.go 49.27% <0.00%> (-0.97%) :arrow_down:
kernel/consensus/base/driver/chained-bft/smr.go 42.93% <0.00%> (+0.79%) :arrow_up:
bcs/consensus/pow/pow.go 42.96% <0.00%> (+1.14%) :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 a5c5c91...f061dea. Read the comment docs.