OpenAtomFoundation / xupercore

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

状态机在walk验证区块执行timer合约时检查autoTx.TxOutputsExt为空时返回错误,导致停止出块 #308

Closed wangchao0222 closed 2 years ago

wangchao0222 commented 2 years ago

Description

状态机在walk验证区块执行timer合约时检查autoTx.TxOutputsExt为空时返回错误,导致停止出块

Fixes # (issue)

Type of change

Please delete options that are not relevant.

Brief of your solution

区块验证时不检查timer_task合约执行的读写集输出

How Has This Been Tested?

节点验证区块timer合约结果集输出为空时,仍可继续出块

codecov-commenter commented 2 years ago

Codecov Report

Merging #308 (667d848) into master (c0696d1) will increase coverage by 0.00%. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #308   +/-   ##
=======================================
  Coverage   46.42%   46.42%           
=======================================
  Files         136      136           
  Lines       12199    12197    -2     
=======================================
  Hits         5663     5663           
  Misses       5360     5360           
+ Partials     1176     1174    -2     
Impacted Files Coverage Δ
bcs/ledger/xledger/state/tx_verification.go 14.49% <ø> (+0.05%) :arrow_up:
bcs/network/p2pv1/conn.go 55.10% <0.00%> (-6.13%) :arrow_down:
bcs/network/p2pv2/server.go 51.33% <0.00%> (-1.07%) :arrow_down:
kernel/consensus/base/driver/chained-bft/smr.go 40.45% <0.00%> (+0.75%) :arrow_up:
bcs/consensus/xpoa/xpoa.go 54.40% <0.00%> (+1.03%) :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 c0696d1...667d848. Read the comment docs.