Skip to content

Commit cae79db

Browse files
committed
test: changePoolTier helper
1 parent b117097 commit cae79db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

staker/_helper_test.gno

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,10 @@ func addPoolTier(t *testing.T, poolPath string, tier uint64) {
440440
pools.GetOrCreate(poolPath)
441441
}
442442

443+
func changePoolTier(t *testing.T, poolPath string, tier uint64) {
444+
poolTier.changeTier(uint64(std.GetHeight()), poolPath, tier)
445+
}
446+
443447
func changeWarmup(t *testing.T, index int, blockDuration int64) {
444448
modifyWarmup(index, blockDuration)
445449
}

0 commit comments

Comments
 (0)