Skip to content

Commit

Permalink
♻️ Update .solhint.json
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio committed May 6, 2024
1 parent d6d660a commit 7dd4c53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "solhint:recommended",
"rules": {
"func-visibility": ["warn", { "ignoreConstructors": true }],
"no-inline-assembly": "off",
"no-empty-blocks": "off"
}
}
1 change: 0 additions & 1 deletion contracts/Create.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ contract Create {
function deploy(uint256 amount, bytes memory bytecode) public returns (address newContract) {
if (address(this).balance < amount) revert InsufficientBalance(address(this));
if (bytecode.length == 0) revert ZeroBytecodeLength(address(this));
// solhint-disable-next-line no-inline-assembly
/// @solidity memory-safe-assembly
assembly {
/** @dev `CREATE` opcode
Expand Down

0 comments on commit 7dd4c53

Please sign in to comment.