diff --git a/packages/contracts-bedrock/interfaces/L2/IFeeVault.sol b/packages/contracts-bedrock/interfaces/L2/IFeeVault.sol index 7a095dc40c5..ea60baca1df 100644 --- a/packages/contracts-bedrock/interfaces/L2/IFeeVault.sol +++ b/packages/contracts-bedrock/interfaces/L2/IFeeVault.sol @@ -36,9 +36,9 @@ interface IFeeVaultConstructor { /// it is an abstract contract, and on the scripts it gets an empty constructor automatically generated that /// makes the `interfaces-check` script fail. function __constructor__( - address _recipient, - uint256 _minWithdrawalAmount, - Types.WithdrawalNetwork _withdrawalNetwork + address __recipient, + uint256 __minWithdrawalAmount, + Types.WithdrawalNetwork __withdrawalNetwork ) external; } diff --git a/packages/contracts-bedrock/src/L2/FeeVault.sol b/packages/contracts-bedrock/src/L2/FeeVault.sol index 19b702908a9..a546b72557e 100644 --- a/packages/contracts-bedrock/src/L2/FeeVault.sol +++ b/packages/contracts-bedrock/src/L2/FeeVault.sol @@ -95,13 +95,14 @@ abstract contract FeeVault { Types.WithdrawalNetwork oldWithdrawalNetwork, Types.WithdrawalNetwork newWithdrawalNetwork ); - /// @param _recipient Wallet that will receive the fees. - /// @param _minWithdrawalAmount Minimum balance for withdrawals. - /// @param _withdrawalNetwork Network which the recipient will receive fees on. - constructor(address _recipient, uint256 _minWithdrawalAmount, Types.WithdrawalNetwork _withdrawalNetwork) { - RECIPIENT = _recipient; - MIN_WITHDRAWAL_AMOUNT = _minWithdrawalAmount; - WITHDRAWAL_NETWORK = _withdrawalNetwork; + /// @dev Using `__` on params to avoid warnings related to shadowing (even though there is no shadowing) + /// @param __recipient Wallet that will receive the fees. + /// @param __minWithdrawalAmount Minimum balance for withdrawals. + /// @param __withdrawalNetwork Network which the recipient will receive fees on. + constructor(address __recipient, uint256 __minWithdrawalAmount, Types.WithdrawalNetwork __withdrawalNetwork) { + RECIPIENT = __recipient; + MIN_WITHDRAWAL_AMOUNT = __minWithdrawalAmount; + WITHDRAWAL_NETWORK = __withdrawalNetwork; } /// @notice Allow the contract to receive ETH.