OpenAtomFoundation / xupercore

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

backport: contract: add transfer support to evm contract (#318) #323

Closed chenfengjin closed 2 years ago

chenfengjin commented 2 years ago

Description

What is the purpose of the change? Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

Brief of your solution

Please describe your solution to solve the issue or feature request.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

codecov-commenter commented 2 years ago

Codecov Report

Merging #323 (da7169b) into release-v5.2 (f31b190) will decrease coverage by 0.07%. The diff coverage is 25.00%.

Impacted file tree graph

@@               Coverage Diff                @@
##           release-v5.2     #323      +/-   ##
================================================
- Coverage         45.82%   45.74%   -0.08%     
================================================
  Files               138      138              
  Lines             12261    12267       +6     
================================================
- Hits               5618     5612       -6     
- Misses             5491     5501      +10     
- Partials           1152     1154       +2     
Impacted Files Coverage Δ
bcs/contract/evm/state.go 13.33% <0.00%> (+0.28%) :arrow_up:
kernel/consensus/pluggable_consensus.go 17.78% <0.00%> (-0.44%) :arrow_down:
kernel/contract/sandbox/xmcache.go 48.43% <ø> (+0.74%) :arrow_up:
bcs/consensus/xpoa/schedule.go 50.00% <100.00%> (+1.35%) :arrow_up:
bcs/network/p2pv1/conn.go 55.10% <0.00%> (-6.13%) :arrow_down:
bcs/consensus/xpoa/xpoa.go 52.28% <0.00%> (-1.02%) :arrow_down:
kernel/consensus/base/driver/chained-bft/smr.go 39.69% <0.00%> (-0.76%) :arrow_down:
bcs/consensus/tdpos/tdpos.go 48.34% <0.00%> (+0.94%) :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 808e3a4...da7169b. Read the comment docs.