Skip to content

Commit

Permalink
Distinct values
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Jan 27, 2025
1 parent 10e15ef commit 13b566d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/cli_defi_negative_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ var _ = Describe("Upgrade - Feemarket fees (non-taxable transactions) negative",
// compute gas price, using offset
gasPrice.Price.Amount = gasPrice.Price.Amount.Mul(sdkmath.LegacyNewDec(didtypes.FeeOffset))

// invalidate the gas price
insufficientGasPrice := gasPrice.Price.Amount.Mul(sdkmath.LegacyMustNewDecFromStr("0.1"))
// invalidate the gas price, in which case 100 times less than the required
insufficientGasPrice := gasPrice.Price.Amount.Mul(sdkmath.LegacyMustNewDecFromStr("0.01"))

// define feeParams
feeParams := []string{
Expand Down Expand Up @@ -68,8 +68,8 @@ var _ = Describe("Upgrade - Feemarket fees (non-taxable transactions) negative",
// consider multiplying in the range of [1.5, 3] times the gas price
gasPrice.Price.Amount = gasPrice.Price.Amount.Mul(sdkmath.LegacyNewDec(3)).Mul(sdkmath.LegacyNewDec(didtypes.BaseFactor))

// invalidate the static fees
insufficientGasPrice := gasPrice.Price.Amount.Mul(sdkmath.LegacyMustNewDecFromStr("0.1"))
// invalidate the static fees, in which case 100 times less than the required
insufficientGasPrice := gasPrice.Price.Amount.Mul(sdkmath.LegacyMustNewDecFromStr("0.01"))

// define feeParams
feeParams := helpers.GenerateFees(insufficientGasPrice.String())
Expand Down

0 comments on commit 13b566d

Please sign in to comment.