Skip to content

refactor(staking): do not execute write functions on staticcall

Codecov / codecov/project succeeded Oct 12, 2024 in 1s

66.03% (-0.03%) compared to 404bd96

View this Pull Request on Codecov

66.03% (-0.03%) compared to 404bd96

Details

Codecov Report

Attention: Patch coverage is 35.71429% with 9 lines in your changes missing coverage. Please review.

Project coverage is 66.03%. Comparing base (404bd96) to head (715d729).

Files with missing lines Patch % Lines
precompiles/staking/staking.go 10.00% 6 Missing and 3 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3001      +/-   ##
===========================================
- Coverage    66.05%   66.03%   -0.03%     
===========================================
  Files          397      397              
  Lines        22313    22324      +11     
===========================================
+ Hits         14739    14741       +2     
- Misses        6806     6812       +6     
- Partials       768      771       +3     
Files with missing lines Coverage Δ
precompiles/bank/bank.go 74.74% <100.00%> (ø)
precompiles/types/errors.go 100.00% <100.00%> (ø)
precompiles/staking/staking.go 90.62% <10.00%> (-3.31%) ⬇️