Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
r0ohafza committed Jan 18, 2024
1 parent 4d30630 commit 532bb93
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 10 additions & 7 deletions packages/splits-v2/src/libraries/Clone.sol
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.18;

/// @title Modified minimal proxy
/// @author Splits
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/LibClone.sol)
/// @dev Modified minimal proxy includes a `receive()` method that emits the
/// `ReceiveETH(uint256)` event to skip `DELEGATECALL` when there is no calldata.
/// Enables us to accept hard gas-capped `sends` & `transfers` for maximum backwards
/// composability.
/**
* @title Modified minimal proxy
* @author Splits
* @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/LibClone.sol)
* @dev Modified minimal proxy includes a `receive()` method that emits the
* `ReceiveETH(uint256)` event to skip `DELEGATECALL` when there is no calldata.
* Enables us to accept hard gas-capped `sends` & `transfers` for maximum backwards
* composability.
*/
// solhint-disable no-inline-assembly
library Clone {
error DeploymentFailed();

Expand Down
2 changes: 0 additions & 2 deletions packages/splits-v2/src/utils/Pausable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ abstract contract Pausable is Ownable {
/* CONSTRUCTOR & INITIALIZER */
/* -------------------------------------------------------------------------- */

constructor() { }

function __initPausable(address _owner, bool _paused) internal virtual {
__initOwnable(_owner);
paused = _paused;
Expand Down

0 comments on commit 532bb93

Please sign in to comment.