Skip to content

Commit 89db8a7

Browse files
Add total waves amount check for reward info at height.
1 parent 0cf2053 commit 89db8a7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

itests/utilities/reward/reward.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ func GetRewardInfoAndChecks(suite *f.BaseSuite, testdata GetTestDataForRewardInf
130130
func GetRewardInfoAtHeightAndChecks(suite *f.BaseSuite, testdata GetTestDataForRewardInfo, height uint64) {
131131
rewardInfoGo, rewardInfoScala := utl.GetRewardsInfoAtHeight(suite, height)
132132
td := testdata(suite)
133+
utl.TotalWavesAmountCheck(suite.T(), td.Expected.TotalWavesAmount, rewardInfoGo.TotalWavesAmount,
134+
rewardInfoScala.TotalWavesAmount)
133135
utl.MinIncrementCheck(suite.T(), td.Expected.MinIncrement, rewardInfoGo.MinIncrement, rewardInfoScala.MinIncrement)
134136
utl.TermCheck(suite.T(), td.Expected.Term, rewardInfoGo.Term, rewardInfoScala.Term)
135137
utl.NextCheckParameterCheck(suite.T(), td.Expected.NextCheck, rewardInfoGo.NextCheck, rewardInfoScala.NextCheck)

0 commit comments

Comments
 (0)