Skip to content

Commit

Permalink
Merge master into wojtek/deterministic-gas-deposit
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-coreum authored Oct 26, 2023
2 parents 0435d18 + d09f797 commit dc4f489
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 19 deletions.
8 changes: 0 additions & 8 deletions integration-tests/modules/assetft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,6 @@ func TestAssetFTBurn(t *testing.T) {
}

// TestAssetFTBurnRate tests burn rate functionality of fungible tokens.
//
//nolint:dupl
func TestAssetFTBurnRate(t *testing.T) {
t.Parallel()

Expand Down Expand Up @@ -905,8 +903,6 @@ func TestAssetFTBurnRate(t *testing.T) {
}

// TestAssetFTSendCommissionRate tests send commission rate functionality of fungible tokens.
//
//nolint:dupl
func TestAssetFTSendCommissionRate(t *testing.T) {
t.Parallel()

Expand Down Expand Up @@ -1823,8 +1819,6 @@ func TestSendCoreTokenWithRestrictedToken(t *testing.T) {
}

// TestNotEnoughBalanceForBurnRate checks tx will fail if there is not enough balance to cover burn rate.
//
//nolint:dupl // we expect code duplication in tests
func TestNotEnoughBalanceForBurnRate(t *testing.T) {
t.Parallel()

Expand Down Expand Up @@ -1902,8 +1896,6 @@ func TestNotEnoughBalanceForBurnRate(t *testing.T) {
}

// TestNotEnoughBalanceForCommissionRate checks tx will fail if there is not enough balance to cover commission rate.
//
//nolint:dupl // we expect code duplication in tests
func TestNotEnoughBalanceForCommissionRate(t *testing.T) {
t.Parallel()

Expand Down
2 changes: 0 additions & 2 deletions x/asset/ft/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ func TestKeeper_Burn(t *testing.T) {
requireT.ErrorIs(err, cosmoserrors.ErrInsufficientFunds)
}

//nolint:dupl // We don't care
func TestKeeper_BurnRate_BankSend(t *testing.T) {
requireT := require.New(t)

Expand Down Expand Up @@ -759,7 +758,6 @@ func TestKeeper_BurnRate_BankMultiSend(t *testing.T) {
}
}

//nolint:dupl // We don't care
func TestKeeper_SendCommissionRate_BankSend(t *testing.T) {
requireT := require.New(t)

Expand Down
2 changes: 0 additions & 2 deletions x/asset/ft/types/msgs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ func TestMsgUnfreeze_ValidateBasic(t *testing.T) {
}
}

//nolint:dupl // tests and mint tests are identical, but merging them is not beneficial
func TestMsgMint_ValidateBasic(t *testing.T) {
type M = types.MsgMint

Expand Down Expand Up @@ -352,7 +351,6 @@ func TestMsgMint_ValidateBasic(t *testing.T) {
}
}

//nolint:dupl // tests and mint tests are identical, but merging them is not beneficial
func TestMsgBurn_ValidateBasic(t *testing.T) {
type M = types.MsgBurn

Expand Down
2 changes: 0 additions & 2 deletions x/asset/ft/types/token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ func TestValidateFeatures(t *testing.T) {
}
}

//nolint:dupl // We don't care
func TestValidateBurnRate(t *testing.T) {
testCases := []struct {
rate string
Expand Down Expand Up @@ -363,7 +362,6 @@ func TestValidateBurnRate(t *testing.T) {
}
}

//nolint:dupl // We don't care
func TestValidateSendCommissionRate(t *testing.T) {
testCases := []struct {
rate string
Expand Down
5 changes: 0 additions & 5 deletions x/asset/nft/types/msgs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ func TestMsgMint_ValidateBasic(t *testing.T) {
}
}

//nolint:dupl // test case duplicates are ok
func TestMsgBurn_ValidateBasic(t *testing.T) {
validMessage := types.MsgBurn{
Sender: "devcore172rc5sz2uclpsy3vvx3y79ah5dk450z5ruq2r5",
Expand Down Expand Up @@ -386,7 +385,6 @@ func TestMsgBurn_ValidateBasic(t *testing.T) {
}
}

//nolint:dupl // test case duplicates are ok
func TestMsgFreeze_ValidateBasic(t *testing.T) {
validMessage := types.MsgFreeze{
Sender: "devcore172rc5sz2uclpsy3vvx3y79ah5dk450z5ruq2r5",
Expand Down Expand Up @@ -448,7 +446,6 @@ func TestMsgFreeze_ValidateBasic(t *testing.T) {
}
}

//nolint:dupl // test case duplicates are ok
func TestMsgUnfreeze_ValidateBasic(t *testing.T) {
validMessage := types.MsgUnfreeze{
Sender: "devcore172rc5sz2uclpsy3vvx3y79ah5dk450z5ruq2r5",
Expand Down Expand Up @@ -510,7 +507,6 @@ func TestMsgUnfreeze_ValidateBasic(t *testing.T) {
}
}

//nolint:dupl // test case duplicates are ok
func TestMsgAddToWhitelist_ValidateBasic(t *testing.T) {
validMessage := types.MsgAddToWhitelist{
Sender: "devcore172rc5sz2uclpsy3vvx3y79ah5dk450z5ruq2r5",
Expand Down Expand Up @@ -582,7 +578,6 @@ func TestMsgAddToWhitelist_ValidateBasic(t *testing.T) {
}
}

//nolint:dupl // test case duplicates are ok
func TestMsgRemoveFromWhitelist_ValidateBasic(t *testing.T) {
validMessage := types.MsgRemoveFromWhitelist{
Sender: "devcore172rc5sz2uclpsy3vvx3y79ah5dk450z5ruq2r5",
Expand Down

0 comments on commit dc4f489

Please sign in to comment.