Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosNicolau committed Nov 5, 2024
1 parent 9680ab0 commit 9fed252
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/utils/eth_client_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestCalculateGasPriceBumpBasedOnRetry(t *testing.T) {
big.NewInt(5400000000),
big.NewInt(7000000000)}

for i := range n {
for i := 0; i < n; i++ {
currentGasPrice := gasPrices[i]
bumpedGasPrice := utils.CalculateGasPriceBumpBasedOnRetry(currentGasPrice, baseBumpPercentage, incrementalRetryPercentage, i)
expectedGasPrice := expectedBumpedGasPrices[i]
Expand All @@ -34,5 +34,4 @@ func TestCalculateGasPriceBumpBasedOnRetry(t *testing.T) {
t.Errorf("Bumped gas price does not match expected gas price, expected value %v, got: %v", expectedGasPrice, bumpedGasPrice)
}
}

}

0 comments on commit 9fed252

Please sign in to comment.