Skip to content

Commit

Permalink
Merge pull request #18 from MajicGit/GasTestFix
Browse files Browse the repository at this point in the history
Fixes error in Arbitrum gas price check introduced with dencun upgrade
  • Loading branch information
yekta authored Sep 17, 2024
2 parents 7aa8405 + 3f6ab2e commit 4e99fb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/services/OwlracleGasPriceTracker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ describe("Owlracle gas price tracker", () => {
config.BlockchainNetworkChainId = 42161;
const gasPrice: BigNumber = await svc.getGasPriceTrackerData();
expect(gasPrice.toNumber())
.to.be.gte(parseUnits("0.1", "gwei").toNumber())
.to.be.gte(parseUnits("0.01", "gwei").toNumber())
.lte(parseUnits("1", "gwei").toNumber());
expect(gasPrice.toString())
.to.equal("100000000");
.to.equal("10000000");
});
});

0 comments on commit 4e99fb2

Please sign in to comment.