Skip to content

Commit

Permalink
Disable slither shadow state variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi committed Mar 6, 2024
1 parent 0192ff6 commit 2dbcbcb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions contracts/vaults/ethereum/EthBlocklistErc20Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ contract EthBlocklistErc20Vault is
VaultBlocklist,
IEthBlocklistErc20Vault
{
// slither-disable-next-line shadowing-state
uint8 private constant _version = 2;

/**
Expand Down
1 change: 1 addition & 0 deletions contracts/vaults/ethereum/EthBlocklistVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {EthVault, IEthVault} from './EthVault.sol';
* @notice Defines the Ethereum staking Vault with blocking addresses functionality
*/
contract EthBlocklistVault is Initializable, EthVault, VaultBlocklist, IEthBlocklistVault {
// slither-disable-next-line shadowing-state
uint8 private constant _version = 2;

/**
Expand Down
1 change: 1 addition & 0 deletions contracts/vaults/ethereum/EthGenesisVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {EthVault, IEthVault} from './EthVault.sol';
* @notice Defines the Genesis Vault for Ethereum staking migrated from StakeWise v2
*/
contract EthGenesisVault is Initializable, EthVault, IEthGenesisVault {
// slither-disable-next-line shadowing-state
uint8 private constant _version = 2;

/// @custom:oz-upgrades-unsafe-allow state-variable-immutable
Expand Down
1 change: 1 addition & 0 deletions contracts/vaults/ethereum/EthPrivErc20Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {EthErc20Vault, IEthErc20Vault} from './EthErc20Vault.sol';
* @notice Defines the Ethereum staking Vault with whitelist and ERC-20 token
*/
contract EthPrivErc20Vault is Initializable, EthErc20Vault, VaultWhitelist, IEthPrivErc20Vault {
// slither-disable-next-line shadowing-state
uint8 private constant _version = 2;

/**
Expand Down
1 change: 1 addition & 0 deletions contracts/vaults/ethereum/EthPrivVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {EthVault, IEthVault} from './EthVault.sol';
* @notice Defines the Ethereum staking Vault with whitelist
*/
contract EthPrivVault is Initializable, EthVault, VaultWhitelist, IEthPrivVault {
// slither-disable-next-line shadowing-state
uint8 private constant _version = 2;

/**
Expand Down

0 comments on commit 2dbcbcb

Please sign in to comment.