Skip to content

Commit b77fe0c

Browse files
authored
Merge pull request #1136 from lidofinance/feat/triggerable-exits-linter-problems
feat: fix linter problems
2 parents 666fb72 + e675406 commit b77fe0c

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

contracts/0.8.25/ValidatorExitDelayVerifier.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ contract ValidatorExitDelayVerifier {
5555
/// @notice EIP-4788 contract address that provides a mapping of timestamp -> known beacon block root.
5656
address public constant BEACON_ROOTS = 0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02;
5757

58-
uint64 constant FAR_FUTURE_EPOCH = type(uint64).max;
58+
uint64 private constant FAR_FUTURE_EPOCH = type(uint64).max;
5959

6060
uint64 public immutable GENESIS_TIME;
6161
uint32 public immutable SLOTS_PER_EPOCH;

contracts/0.8.9/WithdrawalVault.sol

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44
/* See contracts/COMPILERS.md */
55
pragma solidity 0.8.9;
66

7-
import "@openzeppelin/contracts-v4.4/token/ERC20/IERC20.sol";
8-
import "@openzeppelin/contracts-v4.4/token/ERC721/IERC721.sol";
9-
import "@openzeppelin/contracts-v4.4/token/ERC20/utils/SafeERC20.sol";
10-
7+
import {IERC20} from "@openzeppelin/contracts-v4.4/token/ERC20/IERC20.sol";
8+
import {IERC721} from "@openzeppelin/contracts-v4.4/token/ERC721/IERC721.sol";
9+
import {SafeERC20} from "@openzeppelin/contracts-v4.4/token/ERC20/utils/SafeERC20.sol";
1110
import {Versioned} from "./utils/Versioned.sol";
12-
import {AccessControlEnumerable} from "./utils/access/AccessControlEnumerable.sol";
13-
1411
import {WithdrawalVaultEIP7002} from "./WithdrawalVaultEIP7002.sol";
1512

1613
interface ILido {

contracts/0.8.9/WithdrawalVaultEIP7002.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pragma solidity 0.8.9;
88
* @title A base contract for a withdrawal vault, enables to submit EIP-7002 withdrawal requests.
99
*/
1010
abstract contract WithdrawalVaultEIP7002 {
11-
address constant WITHDRAWAL_REQUEST = 0x00000961Ef480Eb55e80D19ad83579A64c007002;
11+
address public constant WITHDRAWAL_REQUEST = 0x00000961Ef480Eb55e80D19ad83579A64c007002;
1212

1313
event WithdrawalRequestAdded(bytes request);
1414

0 commit comments

Comments
 (0)