OpenAtomFoundation / xupercore

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

add memory grow support #331

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 #331 (3d98012) into memory_grow (a8815c9) will increase coverage by 0.74%. The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           memory_grow     #331      +/-   ##
===============================================
+ Coverage        45.92%   46.67%   +0.74%     
===============================================
  Files              140      140              
  Lines            12361    12365       +4     
===============================================
+ Hits              5677     5771      +94     
+ Misses            5526     5416     -110     
- Partials          1158     1178      +20     
Impacted Files Coverage Δ
bcs/contract/xvm/aot_creator.go 64.38% <100.00%> (+54.23%) :arrow_up:
kernel/consensus/base/driver/chained-bft/smr.go 40.59% <0.00%> (-0.75%) :arrow_down:
bcs/contract/xvm/debug.go 13.33% <0.00%> (+13.33%) :arrow_up:
bcs/contract/xvm/resolver.go 20.17% <0.00%> (+20.17%) :arrow_up:
bcs/contract/xvm/instance.go 53.33% <0.00%> (+53.33%) :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 a8815c9...3d98012. Read the comment docs.