Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(evm): consume gas in CallContractWithInput #2180

Merged
merged 10 commits into from
Jan 28, 2025

Update gas_fees.go

a55e5b2
Select commit
Loading
Failed to load commit list.
Merged

fix(evm): consume gas in CallContractWithInput #2180

Update gas_fees.go
a55e5b2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 28, 2025 in 1s

65.00% (target 60.00%)

View this Pull Request on Codecov

65.00% (target 60.00%)

Details

Codecov Report

Attention: Patch coverage is 85.07463% with 10 lines in your changes missing coverage. Please review.

Project coverage is 65.00%. Comparing base (bc29b88) to head (a55e5b2).

Files with missing lines Patch % Lines
x/evm/keeper/msg_server.go 82.05% 4 Missing and 3 partials ⚠️
x/evm/precompile/funtoken.go 25.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2180      +/-   ##
==========================================
+ Coverage   64.86%   65.00%   +0.13%     
==========================================
  Files         277      277              
  Lines       22367    22349      -18     
==========================================
+ Hits        14508    14527      +19     
+ Misses       6869     6832      -37     
  Partials      990      990              
Files with missing lines Coverage Δ
x/evm/keeper/call_contract.go 94.23% <100.00%> (+0.23%) ⬆️
x/evm/keeper/erc20.go 74.02% <100.00%> (+1.94%) ⬆️
x/evm/keeper/funtoken_from_coin.go 81.48% <100.00%> (-0.45%) ⬇️
x/evm/keeper/gas_fees.go 65.38% <100.00%> (ø)
x/evm/keeper/grpc_query.go 82.33% <100.00%> (ø)
x/evm/keeper/keeper.go 85.36% <100.00%> (+21.08%) ⬆️
x/evm/precompile/funtoken.go 53.18% <25.00%> (+0.21%) ⬆️
x/evm/keeper/msg_server.go 77.07% <82.05%> (-0.28%) ⬇️

... and 1 file with indirect coverage changes