OpenAtomFoundation / xupercore

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

misc:format existing code and add format check in ci pipeline #293

Closed chenfengjin closed 2 years ago

chenfengjin commented 2 years ago

Description

style: format existing code and add format check in ci pipeline

Fixes # (issue)

Type of change

Please delete options that are not relevant.

codecov-commenter commented 2 years ago

Codecov Report

Merging #293 (239ef9e) into master (31e1c7c) will increase coverage by 0.11%. The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #293      +/-   ##
==========================================
+ Coverage   46.38%   46.50%   +0.11%     
==========================================
  Files         136      136              
  Lines       12174    12174              
==========================================
+ Hits         5647     5661      +14     
+ Misses       5354     5343      -11     
+ Partials     1173     1170       -3     
Impacted Files Coverage Δ
bcs/network/p2pv2/server.go 51.33% <0.00%> (ø)
lib/storage/kvdb/leveldb/ldb_impl.go 1.35% <ø> (ø)
bcs/ledger/xledger/state/tx_verification.go 14.44% <100.00%> (ø)
kernel/consensus/base/driver/chained-bft/smr.go 40.45% <0.00%> (+0.75%) :arrow_up:
bcs/consensus/xpoa/xpoa.go 56.31% <0.00%> (+1.05%) :arrow_up:
bcs/contract/xvm/code_manager.go 66.36% <0.00%> (+2.72%) :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 31e1c7c...239ef9e. Read the comment docs.