Skip to content

refactor(gas): simplify EstimateGasForEvmCallType

Codecov / codecov/project succeeded Nov 2, 2024 in 0s

64.70% (target 60.00%)

View this Pull Request on Codecov

64.70% (target 60.00%)

Details

Codecov Report

Attention: Patch coverage is 72.19731% with 62 lines in your changes missing coverage. Please review.

Project coverage is 64.70%. Comparing base (7b26a2c) to head (dfaf522).

Files with missing lines Patch % Lines
x/evm/keeper/call_contract.go 76.05% 13 Missing and 4 partials ⚠️
x/evm/keeper/msg_server.go 72.09% 8 Missing and 4 partials ⚠️
x/evm/keeper/keeper.go 50.00% 9 Missing and 2 partials ⚠️
x/evm/keeper/grpc_query.go 60.00% 5 Missing and 3 partials ⚠️
x/evm/keeper/erc20.go 71.42% 6 Missing ⚠️
x/evm/evmtest/test_deps.go 0.00% 3 Missing ⚠️
x/evm/precompile/funtoken.go 86.95% 2 Missing and 1 partial ⚠️
x/evm/precompile/precompile.go 83.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2093      +/-   ##
==========================================
+ Coverage   64.68%   64.70%   +0.02%     
==========================================
  Files         272      273       +1     
  Lines       21393    21443      +50     
==========================================
+ Hits        13838    13875      +37     
- Misses       6594     6606      +12     
- Partials      961      962       +1     
Files with missing lines Coverage Δ
x/evm/embeds/embeds.go 71.42% <100.00%> (+1.05%) ⬆️
x/evm/keeper/funtoken_from_coin.go 78.18% <100.00%> (ø)
x/evm/precompile/oracle.go 54.90% <100.00%> (ø)
x/evm/precompile/wasm.go 62.50% <100.00%> (+1.70%) ⬆️
x/evm/precompile/precompile.go 60.82% <83.33%> (+3.17%) ⬆️
x/evm/evmtest/test_deps.go 90.00% <0.00%> (-10.00%) ⬇️
x/evm/precompile/funtoken.go 50.73% <86.95%> (+6.10%) ⬆️
x/evm/keeper/erc20.go 70.00% <71.42%> (-1.91%) ⬇️
x/evm/keeper/grpc_query.go 79.58% <60.00%> (-0.34%) ⬇️
x/evm/keeper/keeper.go 69.09% <50.00%> (-12.97%) ⬇️
... and 2 more

... and 2 files with indirect coverage changes