Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anajuliabit committed Jun 30, 2024
1 parent add2c56 commit b052228
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 47 deletions.
3 changes: 2 additions & 1 deletion .solhintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"no-inline-assembly": "off",
"no-empty-blocks": "off",
"no-global-import": "off",
gas-custom-errors": "off",
"gas-custom-errors": "off",
"func-name-mixedcase": "off
}
}
44 changes: 0 additions & 44 deletions lint.yml

This file was deleted.

4 changes: 2 additions & 2 deletions test/helper/ProxyUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {Vm} from "@forge-std/Vm.sol";
import {ERC1967Utils} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol";

library ProxyUtils {
address constant CHEATCODE_ADDRESS =
address public constant CHEATCODE_ADDRESS =
0x7109709ECfa91a80626fF3989D68f67F5b1DD12D;
Vm constant vm = Vm(CHEATCODE_ADDRESS);
Vm public vm = Vm(CHEATCODE_ADDRESS);

function getAdminAddress(address proxy) public view returns (address) {
bytes32 adminSlot = vm.load(proxy, ERC1967Utils.ADMIN_SLOT);
Expand Down

0 comments on commit b052228

Please sign in to comment.