OpenAtomFoundation / xupercore

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

Add unit test for contract service #211

Closed chenfengjin closed 3 years ago

chenfengjin commented 3 years ago

Add unit test for some contract sevice

codecov-commenter commented 3 years ago

Codecov Report

Merging #211 (147bcbb) into master (b21e379) will decrease coverage by 0.48%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #211      +/-   ##
==========================================
- Coverage   47.96%   47.48%   -0.49%     
==========================================
  Files         133      133              
  Lines       11341    11371      +30     
==========================================
- Hits         5440     5399      -41     
- Misses       4782     4844      +62     
- Partials     1119     1128       +9     
Impacted Files Coverage Δ
kernel/engines/xuperos/chainmgmt.go 7.84% <0.00%> (-39.22%) :arrow_down:
kernel/engines/xuperos/engine.go 44.91% <0.00%> (-17.80%) :arrow_down:
...el/engines/xuperos/asyncworker/asyncworker_impl.go 47.48% <0.00%> (-4.32%) :arrow_down:
kernel/engines/xuperos/chain.go 48.13% <0.00%> (-1.87%) :arrow_down:
kernel/consensus/base/driver/chained-bft/smr.go 52.41% <0.00%> (-0.97%) :arrow_down:
bcs/consensus/tdpos/schedule.go 48.40% <0.00%> (-0.92%) :arrow_down:
bcs/ledger/xledger/utils/utils.go 38.23% <0.00%> (-0.83%) :arrow_down:
bcs/consensus/tdpos/tdpos.go 44.78% <0.00%> (-0.44%) :arrow_down:
bcs/contract/xvm/builtin_resolver.go 0.00% <0.00%> (ø)
bcs/consensus/xpoa/xpoa.go 54.32% <0.00%> (+1.92%) :arrow_up:
... 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 b21e379...147bcbb. Read the comment docs.