Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Ignacio Ubeira committed May 30, 2024
1 parent fd5bd7f commit 77cee40
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import "../StakelessGauge.sol";
contract OptimisticRootGauge is StakelessGauge {
using SafeERC20 for IERC20;

// solhint-disable-next-line var-name-mixedcase
string public NETWORK;

IL1StandardBridge private immutable _optimismL1StandardBridge;
Expand All @@ -43,7 +44,11 @@ contract OptimisticRootGauge is StakelessGauge {
_factory = IOptimismGasLimitProvider(msg.sender);
}

function initialize(address recipient, uint256 relativeWeightCap, string memory targetNetwork) external {
function initialize(
address recipient,
uint256 relativeWeightCap,
string memory targetNetwork
) external {
// This will revert in all calls except the first one
__StakelessGauge_init(relativeWeightCap);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import "../BaseGaugeFactory.sol";
import "./OptimisticRootGauge.sol";

contract OptimisticRootGaugeFactory is IOptimismGasLimitProvider, BaseGaugeFactory, SingletonAuthentication {
// solhint-disable-next-line var-name-mixedcase
string public NETWORK;

uint32 private _gasLimit;
Expand Down

0 comments on commit 77cee40

Please sign in to comment.