Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Nov 24, 2022
1 parent 689a22c commit 38b0220
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion contracts/libs/ReentrancyGuard.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ library ReentrancyGuardLib {

contract ReentrancyGuardExt {
using ReentrancyGuardLib for ReentrancyGuardLib.Data;
error AccessDenied();

modifier nonReentrant(ReentrancyGuardLib.Data storage self) {
self.enter();
Expand Down
2 changes: 1 addition & 1 deletion test/ERC20Pods.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('ERC20Pods', function () {
await wrongPod.setReturnGasBomb(true);
const tx = await erc20Pods.addPod(wrongPod.address);
const receipt = await tx.wait();
expect(receipt.gasUsed).to.be.lt(272123); // 272123 with solidity instead of assembly
expect(receipt.gasUsed).to.be.lt(274168);
expect(await erc20Pods.pods(wallet1.address)).to.have.deep.equals([wrongPod.address]);
});
});

0 comments on commit 38b0220

Please sign in to comment.