Skip to content

Commit 337211c

Browse files
authored
Merge branch 'master' into typo-fixes
2 parents 98a43df + bc8f775 commit 337211c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1665
-41
lines changed

.changeset/dull-students-eat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`Memory`: Add library with utilities to manipulate memory

.changeset/major-feet-write.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`Bytes`: Add `reverseBytes32`, `reverseBytes16`, `reverseBytes8`, `reverseBytes4`, and `reverseBytes2` functions to reverse byte order for converting between little-endian and big-endian representations.

.changeset/new-days-tease.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`Strings`: Add `toHexString(bytes)`.

.changeset/violet-turtles-like.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`ECDSA`: Add `recoverCalldata` and `tryRecoverCalldata`, variants of `recover` and `tryRecover` that are more efficient when signatures are in calldata.

.changeset/whole-plums-speak.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`SignatureChecker`: Add `isValidSignatureNowCalldata(address,bytes32,bytes calldata)` for efficient processing of calldata signatures.

.changeset/wild-baths-buy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`IERC7786`: Add the (draft) interface for ERC-7786 "Cross-Chain Messaging Gateway"

contracts/access/manager/IAccessManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ interface IAccessManager {
9797
* previously set delay (not zero), then the function should return false and the caller should schedule the operation
9898
* for future execution.
9999
*
100-
* If `immediate` is true, the delay can be disregarded and the operation can be immediately executed, otherwise
100+
* If `allowed` is true, the delay can be disregarded and the operation can be immediately executed, otherwise
101101
* the operation can be executed if and only if delay is greater than 0.
102102
*
103103
* NOTE: The IAuthority interface does not include the `uint32` delay. This is an extension of that interface that

contracts/account/extensions/draft-AccountERC7579.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,11 @@ abstract contract AccountERC7579 is Account, IERC1271, IERC7579Execution, IERC75
237237
*
238238
* Requirements:
239239
*
240-
* * Module type must be supported. See {supportsModule}. Reverts with {ERC7579UnsupportedModuleType}.
241-
* * Module must be of the given type. Reverts with {ERC7579MismatchedModuleTypeId}.
242-
* * Module must not be already installed. Reverts with {ERC7579AlreadyInstalledModule}.
240+
* * Module type must be supported. See {supportsModule}. Reverts with {ERC7579Utils-ERC7579UnsupportedModuleType}.
241+
* * Module must be of the given type. Reverts with {ERC7579Utils-ERC7579MismatchedModuleTypeId}.
242+
* * Module must not be already installed. Reverts with {ERC7579Utils-ERC7579AlreadyInstalledModule}.
243243
*
244-
* Emits a {ModuleInstalled} event.
244+
* Emits a {IERC7579ModuleConfig-ModuleInstalled} event.
245245
*/
246246
function _installModule(uint256 moduleTypeId, address module, bytes memory initData) internal virtual {
247247
require(supportsModule(moduleTypeId), ERC7579Utils.ERC7579UnsupportedModuleType(moduleTypeId));
@@ -276,7 +276,7 @@ abstract contract AccountERC7579 is Account, IERC1271, IERC7579Execution, IERC75
276276
*
277277
* Requirements:
278278
*
279-
* * Module must be already installed. Reverts with {ERC7579UninstalledModule} otherwise.
279+
* * Module must be already installed. Reverts with {ERC7579Utils-ERC7579UninstalledModule} otherwise.
280280
*/
281281
function _uninstallModule(uint256 moduleTypeId, address module, bytes memory deInitData) internal virtual {
282282
require(supportsModule(moduleTypeId), ERC7579Utils.ERC7579UnsupportedModuleType(moduleTypeId));

contracts/governance/extensions/GovernorNoncesKeyed.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {NoncesKeyed} from "../../utils/NoncesKeyed.sol";
88
import {SignatureChecker} from "../../utils/cryptography/SignatureChecker.sol";
99

1010
/**
11-
* @dev An extension of {Governor} that extends existing nonce management to use {NoncesKeyed}, where the key is the first 192 bits of the `proposalId`.
11+
* @dev An extension of {Governor} that extends existing nonce management to use {NoncesKeyed}, where the key is the low-order 192 bits of the `proposalId`.
1212
* This is useful for voting by signature while maintaining separate sequences of nonces for each proposal.
1313
*
1414
* NOTE: Traditional (un-keyed) nonces are still supported and can continue to be used as if this extension was not present.

contracts/interfaces/README.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ are useful to interact with third party contracts that implement them.
4545
- {IERC6909Metadata}
4646
- {IERC6909TokenSupply}
4747
- {IERC7674}
48+
- {IERC7786}
4849
- {IERC7802}
4950

5051
== Detailed ABI
@@ -99,4 +100,6 @@ are useful to interact with third party contracts that implement them.
99100

100101
{{IERC7674}}
101102

103+
{{IERC7786}}
104+
102105
{{IERC7802}}

0 commit comments

Comments
 (0)