Skip to content

Commit

Permalink
Remove commented assertions (#15770)
Browse files Browse the repository at this point in the history
  • Loading branch information
asoliman92 authored Dec 19, 2024
1 parent 12f11f9 commit 99efd78
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/services/ocr2/plugins/ccip/ccipexec/gashelpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,6 @@ func TestWaitBoostedFee(t *testing.T) {
boosted := waitBoostedFee(tc.sendTimeDiff, tc.fee, tc.relativeBoostPerWaitHour)
diff := big.NewInt(0).Sub(boosted, tc.fee)
assert.Equal(t, diff, tc.diff)
// we check that the actual diff is approximately equals to expected diff,
// as we might get slightly different results locally vs. CI therefore normal Equal() would be unstable
// diffUpperLimit := big.NewInt(0).Add(tc.diff, big.NewInt(1e9))
//diffLowerLimit := big.NewInt(0).Add(tc.diff, big.NewInt(-1e9))
//require.Equalf(t, -1, diff.Cmp(diffUpperLimit), "actual diff (%s) is larger than expected (%s)", diff.String(), diffUpperLimit.String())
//require.Equal(t, 1, diff.Cmp(diffLowerLimit), "actual diff (%s) is smaller than expected (%s)", diff.String(), diffLowerLimit.String())
})
}
}

0 comments on commit 99efd78

Please sign in to comment.