Closed godeamon closed 2 years ago
Merging #295 (65c0011) into master (010cfea) will decrease coverage by
0.03%
. The diff coverage is53.33%
.
@@ Coverage Diff @@
## master #295 +/- ##
==========================================
- Coverage 46.46% 46.42% -0.04%
==========================================
Files 136 136
Lines 12177 12191 +14
==========================================
+ Hits 5658 5660 +2
- Misses 5348 5359 +11
- Partials 1171 1172 +1
Impacted Files | Coverage Δ | |
---|---|---|
bcs/ledger/xledger/state/utxo/utxo.go | 54.65% <36.36%> (-0.53%) |
:arrow_down: |
bcs/ledger/xledger/state/state.go | 47.26% <100.00%> (+0.19%) |
:arrow_up: |
bcs/network/p2pv1/conn.go | 55.10% <0.00%> (-6.13%) |
:arrow_down: |
bcs/consensus/xpoa/xpoa.go | 54.21% <0.00%> (-2.11%) |
:arrow_down: |
bcs/consensus/tdpos/tdpos.go | 50.24% <0.00%> (+0.96%) |
:arrow_up: |
bcs/contract/xvm/code_manager.go | 66.36% <0.00%> (+2.72%) |
: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 010cfea...65c0011. Read the comment docs.
当utxo cache设置太小时,非旷工节点执行一个区块时有可能执行失败。解决方案是针对执行区块时将区块内所有交易的 utxo 缓存起来。