Skip to content

Commit

Permalink
Merge branch 'next-v5.0' into next/refactor/safeIncrDecrAllowance
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed May 19, 2023
2 parents b46a616 + 0f10efe commit 7c28604
Show file tree
Hide file tree
Showing 125 changed files with 700 additions and 7,389 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-ducks-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---

Remove deprecated GovernorProposalThreshold module.
5 changes: 5 additions & 0 deletions .changeset/fluffy-gifts-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---

Remove ERC1820Implementer.
5 changes: 5 additions & 0 deletions .changeset/friendly-suits-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---

Remove Checkpoints.History.
5 changes: 5 additions & 0 deletions .changeset/selfish-queens-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---

Remove PullPayment and Escrow contracts (Escrow, ConditionalEscrow, RefundEscrow).
5 changes: 5 additions & 0 deletions .changeset/spicy-ducks-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---

Remove the Timers library.
5 changes: 5 additions & 0 deletions .changeset/swift-berries-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---

Remove ERC777 implementation.
5 changes: 5 additions & 0 deletions .changeset/tame-geckos-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---

Remove SafeMath and SignedSafeMath libraries.
5 changes: 5 additions & 0 deletions .changeset/three-weeks-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---

Remove CrossChain contracts, including AccessControlCrossChain and all the vendored bridge interfaces.
24 changes: 0 additions & 24 deletions contracts/access/AccessControl.sol
Original file line number Diff line number Diff line change
Expand Up @@ -183,30 +183,6 @@ abstract contract AccessControl is Context, IAccessControl, ERC165 {
_revokeRole(role, account);
}

/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* May emit a {RoleGranted} event.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}

/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
Expand Down
45 changes: 0 additions & 45 deletions contracts/access/AccessControlCrossChain.sol

This file was deleted.

2 changes: 0 additions & 2 deletions contracts/access/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ This directory provides ways to restrict who can access the functions of a contr

{{AccessControl}}

{{AccessControlCrossChain}}

{{IAccessControlEnumerable}}

{{AccessControlEnumerable}}
Expand Down
54 changes: 0 additions & 54 deletions contracts/crosschain/CrossChainEnabled.sol

This file was deleted.

34 changes: 0 additions & 34 deletions contracts/crosschain/README.adoc

This file was deleted.

49 changes: 0 additions & 49 deletions contracts/crosschain/amb/CrossChainEnabledAMB.sol

This file was deleted.

35 changes: 0 additions & 35 deletions contracts/crosschain/amb/LibAMB.sol

This file was deleted.

44 changes: 0 additions & 44 deletions contracts/crosschain/arbitrum/CrossChainEnabledArbitrumL1.sol

This file was deleted.

40 changes: 0 additions & 40 deletions contracts/crosschain/arbitrum/CrossChainEnabledArbitrumL2.sol

This file was deleted.

Loading

0 comments on commit 7c28604

Please sign in to comment.