Skip to content

Commit

Permalink
remove testing of deprecated value
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed May 22, 2024
1 parent 1808904 commit 257f198
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x/marker/keeper/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ func (s *ParamTestSuite) TestGetSetParams() {
s.Require().Equal(types.DefaultUnrestrictedDenomRegex, defaultParams.UnrestrictedDenomRegex, "Default UnrestrictedDenomRegex should match")
s.Require().Equal(types.StringToBigInt(types.DefaultMaxSupply), defaultParams.MaxSupply, "Default MaxSupply should match")

newMaxTotalSupply := uint64(2000000)
newEnableGovernance := false
newUnrestrictedDenomRegex := "xyz.*"
newMaxSupply := "3000000"

newParams := types.Params{
MaxTotalSupply: newMaxTotalSupply,
EnableGovernance: newEnableGovernance,
UnrestrictedDenomRegex: newUnrestrictedDenomRegex,
MaxSupply: types.StringToBigInt(newMaxSupply),
Expand All @@ -53,7 +51,6 @@ func (s *ParamTestSuite) TestGetSetParams() {
s.app.MarkerKeeper.SetParams(s.ctx, newParams)

updatedParams := s.app.MarkerKeeper.GetParams(s.ctx)
s.Require().Equal(newMaxTotalSupply, updatedParams.MaxTotalSupply, "Updated MaxTotalSupply should match")
s.Require().Equal(newEnableGovernance, updatedParams.EnableGovernance, "Updated EnableGovernance should match")
s.Require().Equal(newUnrestrictedDenomRegex, updatedParams.UnrestrictedDenomRegex, "Updated UnrestrictedDenomRegex should match")
s.Require().Equal(types.StringToBigInt(newMaxSupply), updatedParams.MaxSupply, "Updated MaxSupply should match")
Expand Down

0 comments on commit 257f198

Please sign in to comment.