-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Closed
Labels
breaking changeChanges that break backwards compatibility of the public API.Changes that break backwards compatibility of the public API.
Milestone
Description
There are various deprecated functions that need to be removed in the next major version. These are annotated in the docs such as:
* NOTE: This function is deprecated in favor of {_grantRole}. |
We should search and remove all of these.
A list, not necessarily exhaustive:
- Deprecated contracts
- GovernorProposalThreshold
- ERC777
- Deprecated
draft-*.sol
files:- draft-IERC2612.sol
- draft-ERC20Permit.sol
- draft-IERC20Permit.sol
- draft-ERC721Votes.sol
- draft-EIP712.sol
- Deprecated functions
-
SafeMath.sol
: function that need use memory for the error reason -
EnumerableMap.sol
: function that need use memory for the error reason -
AccessControl.sol
:_setupRole
-
BeaconProxy.sol
:_setBeacon
-
- Deprecated state variables
-
GovernorCompatibilityBravo.ProposalDetails.proposer
(not deprecated but not needed since we haveGovernor.ProposalCore.proposer
) -
GovernorVotesQuorumFraction._quorumNumerator
-
Metadata
Metadata
Assignees
Labels
breaking changeChanges that break backwards compatibility of the public API.Changes that break backwards compatibility of the public API.