Skip to content

Commit

Permalink
test: changePoolTier helper
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Dec 31, 2024
1 parent b117097 commit cae79db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions staker/_helper_test.gno
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,10 @@ func addPoolTier(t *testing.T, poolPath string, tier uint64) {
pools.GetOrCreate(poolPath)
}

func changePoolTier(t *testing.T, poolPath string, tier uint64) {
poolTier.changeTier(uint64(std.GetHeight()), poolPath, tier)
}

func changeWarmup(t *testing.T, index int, blockDuration int64) {
modifyWarmup(index, blockDuration)
}
Expand Down

0 comments on commit cae79db

Please sign in to comment.