diff --git a/packages/evm/contracts/allowlists/SimpleAllowList.sol b/packages/evm/contracts/allowlists/SimpleAllowList.sol index c426f12de..b26a63e44 100644 --- a/packages/evm/contracts/allowlists/SimpleAllowList.sol +++ b/packages/evm/contracts/allowlists/SimpleAllowList.sol @@ -41,7 +41,7 @@ contract SimpleAllowList is AllowList, OwnableRoles { } /// @inheritdoc AllowList - function setAllowed(address[] calldata users_, bool[] calldata allowed_) external onlyRoles(LIST_MANAGER_ROLE) { + function setAllowed(address[] calldata users_, bool[] calldata allowed_) external override onlyRoles(LIST_MANAGER_ROLE) { if (users_.length != allowed_.length) revert BoostError.LengthMismatch(); for (uint256 i = 0; i < users_.length; i++) { @@ -51,7 +51,7 @@ contract SimpleAllowList is AllowList, OwnableRoles { /// @inheritdoc AllowList /// @notice This function is not implemented in this contract - function setDenied(address[] calldata users_, bool[] calldata denied_) external onlyOwner { + function setDenied(address[] calldata users_, bool[] calldata denied_) external override onlyOwner { revert BoostError.NotImplemented(); } } diff --git a/packages/evm/contracts/allowlists/SimpleDenyList.sol b/packages/evm/contracts/allowlists/SimpleDenyList.sol index 204164785..dd38f5b50 100644 --- a/packages/evm/contracts/allowlists/SimpleDenyList.sol +++ b/packages/evm/contracts/allowlists/SimpleDenyList.sol @@ -36,7 +36,7 @@ contract SimpleDenyList is AllowList { } /// @inheritdoc AllowList - function setAllowed(address[] calldata users_, bool[] calldata allowed_) external onlyOwner { + function setAllowed(address[] calldata users_, bool[] calldata allowed_) external override onlyOwner { revert BoostError.NotImplemented(); } @@ -45,7 +45,7 @@ contract SimpleDenyList is AllowList { /// @param denied_ The denied status of each user /// @dev The length of the `users_` and `denied_` arrays must be the same /// @dev This function can only be called by the owner - function setDenied(address[] calldata users_, bool[] calldata denied_) external onlyOwner { + function setDenied(address[] calldata users_, bool[] calldata denied_) external override onlyOwner { if (users_.length != denied_.length) revert BoostError.LengthMismatch(); for (uint256 i = 0; i < users_.length; i++) {