Skip to content

fix(precompile-funtoken): modify StateDB after bank send operations

Codecov / codecov/project succeeded Oct 24, 2024 in 0s

64.50% (target 60.00%)

View this Pull Request on Codecov

64.50% (target 60.00%)

Details

Codecov Report

Attention: Patch coverage is 71.66124% with 87 lines in your changes missing coverage. Please review.

Project coverage is 64.50%. Comparing base (dd27f4b) to head (0e6afd8).

Files with missing lines Patch % Lines
x/evm/precompile/funtoken.go 63.15% 19 Missing and 2 partials ⚠️
x/evm/evmtest/tx.go 64.28% 12 Missing and 3 partials ⚠️
x/evm/errors.go 0.00% 10 Missing ⚠️
x/evm/precompile/precompile.go 50.00% 7 Missing and 3 partials ⚠️
x/evm/statedb/statedb.go 79.16% 7 Missing and 3 partials ⚠️
x/evm/keeper/erc20.go 70.96% 9 Missing ⚠️
x/evm/keeper/msg_server.go 61.53% 5 Missing ⚠️
x/evm/statedb/journal.go 69.23% 4 Missing ⚠️
x/evm/evmtest/erc20.go 25.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2086      +/-   ##
==========================================
+ Coverage   63.98%   64.50%   +0.52%     
==========================================
  Files         270      270              
  Lines       21092    21194     +102     
==========================================
+ Hits        13495    13671     +176     
+ Misses       6660     6573      -87     
- Partials      937      950      +13     
Files with missing lines Coverage Δ
x/evm/evmtest/test_deps.go 100.00% <100.00%> (+8.33%) ⬆️
x/evm/keeper/funtoken_from_coin.go 78.18% <100.00%> (ø)
x/evm/keeper/grpc_query.go 79.92% <100.00%> (-0.04%) ⬇️
x/evm/logs.go 100.00% <ø> (ø)
x/evm/precompile/errors.go 63.33% <100.00%> (+9.16%) ⬆️
x/evm/precompile/oracle.go 54.00% <100.00%> (+4.81%) ⬆️
x/evm/precompile/wasm.go 52.32% <100.00%> (+2.61%) ⬆️
x/evm/statedb/state_object.go 98.47% <100.00%> (ø)
x/evm/evmtest/erc20.go 90.90% <25.00%> (+2.02%) ⬆️
x/evm/statedb/journal.go 95.50% <69.23%> (-4.50%) ⬇️
... and 7 more