nspcc-dev / neo-go

Go Node and SDK for the Neo blockchain
MIT License
123 stars 79 forks source link

Adjust expected unclaimed GAS calculation for TestNEO_CalculateBonus #3596

Closed AnnaShaleva closed 1 month ago

AnnaShaleva commented 1 month ago

Problem

Misleading expected unclaimed GAS calculation record in test.

Solution

Fix it, add some comments.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.26%. Comparing base (9a38360) to head (fadfac7). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3596 +/- ## ======================================= Coverage 85.26% 85.26% ======================================= Files 333 333 Lines 39005 39005 ======================================= Hits 33256 33256 + Misses 4177 4176 -1 - Partials 1572 1573 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

AnnaShaleva commented 1 month ago

@AliceInHunterland, please ensure you understand reward calculations.