Skip to content

Commit

Permalink
fix(test): Reduce RPC susceptibility in test (#724)
Browse files Browse the repository at this point in the history
The functionality exercised by this test needs an overhaul to work
against hre, so just drop its number of iterations for now.
  • Loading branch information
pxrl authored Sep 4, 2024
1 parent e74a59c commit 53547a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe("Utils test", () => {
await estimateTotalGasRequiredByUnsignedTransaction(fill, relayerAddress, provider, 0.0, gasPrice);
expect(toBN(refGasEstimate).eq(toBN(refGasCost).mul(gasPrice))).to.be.true;

for (let gasMarkup = -0.99; gasMarkup <= 4.0; gasMarkup += 0.33) {
for (let gasMarkup = -0.99; gasMarkup <= 1.0; gasMarkup += 0.33) {
const { nativeGasCost, tokenGasCost } = await estimateTotalGasRequiredByUnsignedTransaction(
fill,
relayerAddress,
Expand Down

0 comments on commit 53547a6

Please sign in to comment.