Deprecate the timers library (#4062)

Co-authored-by: Francisco <fg@frang.io>
pull/4064/head
Hadrien Croubois 2 years ago committed by GitHub
parent 7ac4349710
commit 815bfbf383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 2
      contracts/utils/Timers.sol

@ -8,6 +8,7 @@
### Deprecations
- `ERC20Permit`: Added the file `IERC20Permit.sol` and `ERC20Permit.sol` and deprecated `draft-IERC20Permit.sol` and `draft-ERC20Permit.sol` since [EIP-2612](https://eips.ethereum.org/EIPS/eip-2612) is no longer a Draft. Developers are encouraged to update their imports. ([#3793](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3793))
- `Timers`: The `Timers` library is now deprecated and will be removed in the next major release. ([#4062](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4062))
## 4.8.1 (2023-01-12)

@ -5,6 +5,8 @@ pragma solidity ^0.8.0;
/**
* @dev Tooling for timepoints, timers and delays
*
* CAUTION: This file is deprecated as of 4.9 and will be removed in the next major release.
*/
library Timers {
struct Timestamp {

Loading…
Cancel
Save