Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu committed Jan 15, 2024
1 parent c1259e7 commit 8fa16fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/multi-staking/keeper/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
func (suite *KeeperTestSuite) TestSetBondWeight() {
suite.SetupTest()

gasDenom := "ario"
const gasDenom = "ario"
govDenom := "arst"
gasWeight := sdk.OneDec()
govWeight := sdk.NewDecWithPrec(2, 4)
Expand Down Expand Up @@ -114,12 +114,12 @@ func (suite *KeeperTestSuite) TestSetAndGetMultiStakingUnlock() {
Entries: Entries,
}

unLocks, found := suite.msKeeper.GetMultiStakingUnlock(suite.ctx, unLockID)
_, found := suite.msKeeper.GetMultiStakingUnlock(suite.ctx, unLockID)
suite.Require().False(found)

suite.msKeeper.SetMultiStakingUnlock(suite.ctx, mulStakingUnllock)

unLocks, found = suite.msKeeper.GetMultiStakingUnlock(suite.ctx, unLockID)
unLocks, found := suite.msKeeper.GetMultiStakingUnlock(suite.ctx, unLockID)
suite.Require().True(found)

suite.Require().Equal(unLocks.Entries[0].CreationHeight, Entries[0].CreationHeight)
Expand Down

0 comments on commit 8fa16fe

Please sign in to comment.