Skip to content

Commit 3d4c0d5

Browse files
Transpile fd81a96f
1 parent 54bd6e3 commit 3d4c0d5

File tree

7 files changed

+9
-18
lines changed

7 files changed

+9
-18
lines changed

.changeset/unlucky-beans-obey.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/warm-guests-rule.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22

33

4+
## 4.9.3 (2023-07-28)
5+
6+
- `ERC2771Context`: Return the forwarder address whenever the `msg.data` of a call originating from a trusted forwarder is not long enough to contain the request signer address (i.e. `msg.data.length` is less than 20 bytes), as specified by ERC-2771. ([#4481](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4481))
7+
- `ERC2771Context`: Prevent revert in `_msgData()` when a call originating from a trusted forwarder is not long enough to contain the request signer address (i.e. `msg.data.length` is less than 20 bytes). Return the full calldata in that case. ([#4484](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4484))
8+
49
## 4.9.2 (2023-06-16)
510

611
- `MerkleProof`: Fix a bug in `processMultiProof` and `processMultiProofCalldata` that allows proving arbitrary leaves if the tree contains a node with value 0 at depth 1.

contracts/metatx/ERC2771ContextUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v4.7.0) (metatx/ERC2771Context.sol)
2+
// OpenZeppelin Contracts (last updated v4.9.3) (metatx/ERC2771Context.sol)
33

44
pragma solidity ^0.8.9;
55

contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@openzeppelin/contracts-upgradeable",
33
"description": "Secure Smart Contract library for Solidity",
4-
"version": "4.9.2",
4+
"version": "4.9.3",
55
"files": [
66
"**/*.sol",
77
"/build/contracts/*.json",

contracts/token/ERC20/utils/SafeERC20Upgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol)
2+
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)
33

44
pragma solidity ^0.8.0;
55

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "openzeppelin-solidity",
33
"description": "Secure Smart Contract library for Solidity",
4-
"version": "4.9.2",
4+
"version": "4.9.3",
55
"files": [
66
"/contracts/**/*.sol",
77
"/build/contracts/*.json",

0 commit comments

Comments
 (0)